Align controls to 36/10 and make create modals full-screen on mobile.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-10 23:45:11 +03:30
co-authored by Cursor
parent 212d02f664
commit 535c428270
36 changed files with 454 additions and 238 deletions
+27 -15
View File
@@ -755,17 +755,26 @@ watch([id, isNew], () => void load(), { immediate: true });
.note-card textarea {
width: 100%;
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 0.75rem 0.85rem;
border-radius: var(--radius);
min-height: var(--control-h);
padding: 0 0.85rem;
font: inherit;
background: #fff;
box-sizing: border-box;
}
.field textarea,
.note-card textarea {
min-height: 5.5rem;
padding: 0.65rem 0.85rem;
}
.picker {
width: 100%;
min-height: 48px;
min-height: var(--control-h);
height: var(--control-h);
border: 1px solid #e2e8f0;
border-radius: 12px;
border-radius: var(--radius);
background: #fff;
display: flex;
align-items: center;
@@ -917,15 +926,16 @@ watch([id, isNew], () => void load(), { immediate: true });
display: flex;
align-items: center;
justify-content: space-between;
min-height: 48px;
min-height: var(--control-h);
height: var(--control-h);
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 0.2rem;
border-radius: var(--radius);
padding: 0.15rem;
}
.stepper button {
width: 40px;
height: 40px;
width: 28px;
height: 28px;
border: 0;
border-radius: 10px;
background: #f0fdfa;
@@ -1000,7 +1010,8 @@ watch([id, isNew], () => void load(), { immediate: true });
.reminder :deep(.trigger) {
border: 0;
min-height: 48px;
min-height: var(--control-h);
height: var(--control-h);
padding-inline: 0.15rem;
}
@@ -1094,9 +1105,9 @@ watch([id, isNew], () => void load(), { immediate: true });
align-items: center;
justify-content: center;
gap: 0.35rem;
min-height: 44px;
border-radius: 12px;
padding: 0.55rem 0.95rem;
min-height: var(--control-h);
border-radius: var(--radius);
padding: 0 0.95rem;
font: inherit;
font-weight: 800;
cursor: pointer;
@@ -1134,8 +1145,9 @@ watch([id, isNew], () => void load(), { immediate: true });
.mobile-save .btn {
width: 100%;
min-height: 50px;
border-radius: 14px;
min-height: var(--control-h);
height: var(--control-h);
border-radius: var(--radius);
}
@media (min-width: 960px) {