Update layout

This commit is contained in:
redphx 2024-07-17 07:18:55 +07:00
parent d8e87e5c2c
commit 2db246e081
4 changed files with 6 additions and 4 deletions

View File

@ -103,7 +103,7 @@
label { label {
align-self: center; align-self: center;
margin-bottom: 0; margin: 0 4px 0;
} }
.bx-setting-control { .bx-setting-control {

View File

@ -195,10 +195,10 @@
width: 100%; width: 100%;
height: 36px; height: 36px;
display: block; display: block;
margin-bottom: 10px;
} }
.bx-shortcut-note { .bx-shortcut-note {
margin-top: 10px;
font-size: 14px; font-size: 14px;
} }

View File

@ -1,6 +1,7 @@
.bx-select { .bx-select {
display: flex; display: flex;
align-items: center; align-items: center;
flex: 0 1 auto;
select { select {
display: none !important; display: none !important;
@ -46,7 +47,8 @@
border: none; border: none;
display: inline-flex; display: inline-flex;
cursor: pointer; cursor: pointer;
height: 30px; min-height: 30px;
font-size: 0.9rem;
align-items: center; align-items: center;
span { span {

View File

@ -644,7 +644,7 @@ export class Preferences {
min: 0, min: 0,
max: 10, max: 10,
params: { params: {
hideSlider: true, exactTicks: 2,
customTextValue: (value: any) => { customTextValue: (value: any) => {
value = parseInt(value); value = parseInt(value);
return value === 0 ? t('off') : value.toString(); return value === 0 ? t('off') : value.toString();