Jack commited on
Commit
b88e346
·
1 Parent(s): 30d3465

hosting page css adjustments

Browse files
Files changed (1) hide show
  1. app/static/styles.css +17 -2
app/static/styles.css CHANGED
@@ -821,7 +821,7 @@ textarea {
821
  }
822
 
823
  .host-listings-grid {
824
- grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
825
  }
826
 
827
  .host-card {
@@ -829,24 +829,38 @@ textarea {
829
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
830
  gap: 20px;
831
  align-items: start;
 
832
  }
833
 
834
  .host-card-media {
835
  display: block;
 
836
  }
837
 
838
  .host-card-heading {
 
 
839
  margin-bottom: 0;
 
 
 
 
 
 
 
 
840
  }
841
 
842
  .host-card-heading h2 {
843
  margin-bottom: 6px;
 
844
  }
845
 
846
  .host-metric-row {
847
  display: grid;
848
- grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
849
  gap: 12px;
 
850
  }
851
 
852
  .host-metric,
@@ -861,6 +875,7 @@ textarea {
861
  display: grid;
862
  gap: 4px;
863
  padding: 14px 16px;
 
864
  }
865
 
866
  .host-metric strong {
 
821
  }
822
 
823
  .host-listings-grid {
824
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 560px), 1fr));
825
  }
826
 
827
  .host-card {
 
829
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
830
  gap: 20px;
831
  align-items: start;
832
+ min-width: 0;
833
  }
834
 
835
  .host-card-media {
836
  display: block;
837
+ min-width: 0;
838
  }
839
 
840
  .host-card-heading {
841
+ flex-wrap: wrap;
842
+ align-items: flex-start;
843
  margin-bottom: 0;
844
+ min-width: 0;
845
+ }
846
+
847
+ .host-card-heading > div,
848
+ .host-card-body,
849
+ .host-card-sections,
850
+ .host-subpanel {
851
+ min-width: 0;
852
  }
853
 
854
  .host-card-heading h2 {
855
  margin-bottom: 6px;
856
+ overflow-wrap: anywhere;
857
  }
858
 
859
  .host-metric-row {
860
  display: grid;
861
+ grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
862
  gap: 12px;
863
+ min-width: 0;
864
  }
865
 
866
  .host-metric,
 
875
  display: grid;
876
  gap: 4px;
877
  padding: 14px 16px;
878
+ min-width: 0;
879
  }
880
 
881
  .host-metric strong {