0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 13:52:38 +00:00

tool elements use width:auto for flexibility, but with min-width

Set the child elements of the toolbar to have auto width (can expand as needed), but have a min-width so no button, such as an icon, is too small.
This commit is contained in:
Gazook89
2024-08-17 15:34:13 -05:00
parent adab8449e0
commit f204b0ebc0

View File

@@ -61,12 +61,12 @@
color : #CCCCCC;
padding : 0;
height: 100%;
width: auto;
box-sizing: content-box;
&:hover,&:focus-within { background-color : #444444; }
button {
width : 70px;
font-family : 'Open Sans', sans-serif;
font-size : 11px;
font-weight : normal;
@@ -74,6 +74,8 @@
text-transform : uppercase;
background-color : transparent;
height : 100%;
width : auto;
min-width : 46px;
padding : 0 8px;
&:focus-within {