Brajmovech commited on
Commit
52efe46
·
1 Parent(s): 45f9901

fix: sync headlines scroll constraints and bump css cache

Browse files
Files changed (2) hide show
  1. static/style.css +4 -3
  2. templates/index.html +1 -1
static/style.css CHANGED
@@ -455,7 +455,7 @@ header {
455
  .dashboard-3col {
456
  display: grid;
457
  grid-template-columns: 1fr 1fr 1fr;
458
- grid-template-rows: 1fr 1fr;
459
  gap: 1rem;
460
  align-items: stretch;
461
  margin-bottom: 1.5rem;
@@ -481,6 +481,7 @@ header {
481
  display: flex;
482
  flex-direction: column;
483
  overflow: hidden;
 
484
  }
485
 
486
  .sentiment-card {
@@ -539,7 +540,7 @@ header {
539
  }
540
 
541
  .headlines-card .headlines-list {
542
- flex: 1;
543
  overflow-y: auto;
544
  padding-right: 0.25rem;
545
  min-height: 0;
@@ -1461,7 +1462,7 @@ footer p {
1461
  overflow: visible;
1462
  }
1463
 
1464
- .headlines-list {
1465
  max-height: 360px;
1466
  flex: none;
1467
  }
 
455
  .dashboard-3col {
456
  display: grid;
457
  grid-template-columns: 1fr 1fr 1fr;
458
+ grid-template-rows: auto auto;
459
  gap: 1rem;
460
  align-items: stretch;
461
  margin-bottom: 1.5rem;
 
481
  display: flex;
482
  flex-direction: column;
483
  overflow: hidden;
484
+ max-height: 520px;
485
  }
486
 
487
  .sentiment-card {
 
540
  }
541
 
542
  .headlines-card .headlines-list {
543
+ flex: 1 1 0;
544
  overflow-y: auto;
545
  padding-right: 0.25rem;
546
  min-height: 0;
 
1462
  overflow: visible;
1463
  }
1464
 
1465
+ .headlines-card .headlines-list {
1466
  max-height: 360px;
1467
  flex: none;
1468
  }
templates/index.html CHANGED
@@ -22,7 +22,7 @@
22
  })();
23
  </script>
24
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap" rel="stylesheet">
25
- <link rel="stylesheet" href="/static/style.css?v=11">
26
  <link rel="icon" type="image/svg+xml"
27
  href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22 fill=%22%233b82f6%22>IA</text></svg>">
28
  </head>
 
22
  })();
23
  </script>
24
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap" rel="stylesheet">
25
+ <link rel="stylesheet" href="/static/style.css?v=12">
26
  <link rel="icon" type="image/svg+xml"
27
  href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22 fill=%22%233b82f6%22>IA</text></svg>">
28
  </head>