]> BookStack Code Mirror - bookstack/commitdiff
Fixed issue causing text overlap in sort select box
authorDan Brown <redacted>
Mon, 7 Oct 2019 20:06:15 +0000 (21:06 +0100)
committerDan Brown <redacted>
Mon, 7 Oct 2019 20:06:15 +0000 (21:06 +0100)
Updated grid columns to be more adaptable to content, with a min-width
of the old value.
Fixes #1654

resources/assets/sass/styles.scss

index 8f1fef70c9c512b0629dcef8545304d9779f3b16..1f4d00f6b9606b1ebe15d94b0c5b8788dd747b6e 100644 (file)
@@ -253,7 +253,8 @@ $btt-size: 40px;
   .list-sort {
     display: inline-grid;
     margin-left: $-s;
-    grid-template-columns: 120px 40px;
+    grid-template-columns: minmax(120px, max-content) 40px;
+    font-size: 0.9rem;
     border: 2px solid #DDD;
     border-radius: 4px;
   }