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'>
<label htmlFor='fontSize'>
Editor Font Size (in px)
Editor Font Size
</label>
<div className='value'>
<small>from 9px to 30px</small>
<input
id='fontSize'
type='number'
+18 -5
View File
@@ -60,7 +60,6 @@
& > .value {
flex : 1 1 auto;
width : 50px;
justify-self: end;
&[data-tooltip-right] { max-width : 380px; }
&:invalid { background : #FFB9B9; }
small {
@@ -70,9 +69,13 @@
line-height : 1.4em;
}
input[type='checkbox'] {
display:block;
margin-left:auto;
small {
width:fit-content;
margin-inline:5px;
}
input[type='checkbox'], input[type='number'] {
float:right;
text-align:end;
}
}
input[type='text'], textarea {
@@ -381,7 +384,17 @@
.settingsEditor .field {
border-bottom:1px solid black;
padding-bottom:10px;
.value {
display:flex;
justify-content: end;
}
> label {
width:200px;
width:fit-content;
max-width:calc(100% - 200px);
}
}