0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-08 01:02:51 +00:00

Update metadataEditor.less

- Fix Publish button and following small text so there is no overlap
- set `nowrap` on checkbox inputs/labels so that the labels do not wrap to the next line from their input.
- set min-width on values so that text boxes shrink to the same width; and can flex to any larger size.
This commit is contained in:
Gazook89
2021-07-29 11:26:41 -05:00
committed by GitHub
parent 295a4cd1cd
commit 0c0ba0b6ca

View File

@@ -18,10 +18,11 @@
font-weight : 800; font-weight : 800;
line-height : 1.8em; line-height : 1.8em;
text-transform : uppercase; text-transform : uppercase;
flex-grow : 0; flex : 0 0 auto;
} }
&>.value{ &>.value{
flex-grow : 1; flex : 1 1 auto;
min-width : 200px;
} }
} }
.description.field textarea.value{ .description.field textarea.value{
@@ -38,6 +39,8 @@
font-size : 0.7em; font-size : 0.7em;
font-weight : 800; font-weight : 800;
user-select : none; user-select : none;
white-space : nowrap;
display : inline-block;
} }
input{ input{
vertical-align : middle; vertical-align : middle;
@@ -47,6 +50,9 @@
.publish.field .value{ .publish.field .value{
position : relative; position : relative;
margin-bottom: 15px; margin-bottom: 15px;
button{
width:100%;
}
button.publish{ button.publish{
.button(@blueLight); .button(@blueLight);
} }
@@ -76,4 +82,4 @@
font-size: 0.8em; font-size: 0.8em;
line-height : 1.5em; line-height : 1.5em;
} }
} }