lvwerra HF Staff commited on
Commit
3da4cc3
·
verified ·
1 Parent(s): 9171efd

Title row: drop h1 flex-grow so button sits right next to the title

Browse files
Files changed (1) hide show
  1. static/index.html +3 -1
static/index.html CHANGED
@@ -102,7 +102,9 @@
102
  .title-row {
103
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
104
  }
105
- .title-row h1 { flex: 1 1 auto; min-width: 0; }
 
 
106
  .title-row .btn-primary { flex: 0 0 auto; }
107
 
108
  /* --- Layout --- */
 
102
  .title-row {
103
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
104
  }
105
+ /* No flex-grow on the h1 keep its intrinsic width so the button sits
106
+ immediately to its right rather than pushed to the far edge. */
107
+ .title-row h1 { flex: 0 1 auto; min-width: 0; }
108
  .title-row .btn-primary { flex: 0 0 auto; }
109
 
110
  /* --- Layout --- */