mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-09-23 16:12:58 +00:00
finishing style
This commit is contained in:
@@ -127,9 +127,11 @@ const SettingsEditor = ({ settings, updateSettings = ()=>{} })=>{
|
|||||||
|
|
||||||
<div className='field'>
|
<div className='field'>
|
||||||
<label htmlFor='fontSize'>
|
<label htmlFor='fontSize'>
|
||||||
Editor Font Size (in px)
|
Editor Font Size
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div className='value'>
|
<div className='value'>
|
||||||
|
<small>from 9px to 30px</small>
|
||||||
<input
|
<input
|
||||||
id='fontSize'
|
id='fontSize'
|
||||||
type='number'
|
type='number'
|
||||||
|
|||||||
@@ -60,7 +60,6 @@
|
|||||||
& > .value {
|
& > .value {
|
||||||
flex : 1 1 auto;
|
flex : 1 1 auto;
|
||||||
width : 50px;
|
width : 50px;
|
||||||
justify-self: end;
|
|
||||||
&[data-tooltip-right] { max-width : 380px; }
|
&[data-tooltip-right] { max-width : 380px; }
|
||||||
&:invalid { background : #FFB9B9; }
|
&:invalid { background : #FFB9B9; }
|
||||||
small {
|
small {
|
||||||
@@ -70,9 +69,13 @@
|
|||||||
line-height : 1.4em;
|
line-height : 1.4em;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type='checkbox'] {
|
small {
|
||||||
display:block;
|
width:fit-content;
|
||||||
margin-left:auto;
|
margin-inline:5px;
|
||||||
|
}
|
||||||
|
input[type='checkbox'], input[type='number'] {
|
||||||
|
float:right;
|
||||||
|
text-align:end;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
input[type='text'], textarea {
|
input[type='text'], textarea {
|
||||||
@@ -381,7 +384,17 @@
|
|||||||
|
|
||||||
|
|
||||||
.settingsEditor .field {
|
.settingsEditor .field {
|
||||||
|
border-bottom:1px solid black;
|
||||||
|
padding-bottom:10px;
|
||||||
|
|
||||||
|
.value {
|
||||||
|
|
||||||
|
display:flex;
|
||||||
|
justify-content: end;
|
||||||
|
}
|
||||||
|
|
||||||
> label {
|
> label {
|
||||||
width:200px;
|
width:fit-content;
|
||||||
|
max-width:calc(100% - 200px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user