finishing style

This commit is contained in:
Víctor Losada Hernández
2026-08-27 19:46:32 +02:00
parent 2695cfdaf0
commit 4ab42f27f1
2 changed files with 21 additions and 6 deletions
@@ -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'
+18 -5
View File
@@ -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);
} }
} }