fix: resolve style issues

This commit is contained in:
2026-08-31 03:25:42 +05:00
parent 6cefd5c0a1
commit bbd5532529
5 changed files with 13 additions and 22 deletions
+2 -3
View File
@@ -21,9 +21,8 @@
}
.controls.compact {
display: grid;
grid-auto-flow: column;
grid-auto-columns: minmax(0, 1fr);
gap: 0 16px;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
@media (max-width: 800px) {
+7 -3
View File
@@ -8,14 +8,18 @@
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 16px clamp(20px, 4vw, 64px);
padding: 16px clamp(20px, 4vw, 72px);
border-top: 1px solid var(--line);
font: 10px var(--font-mono);
letter-spacing: 0.08em;
color: var(--muted);
& span {
display: flex;
align-items: center;
gap: 7px;
}
}
.preview-footer .version {
font-weight: 400;
color: var(--blue);
}
</style>
@@ -37,7 +37,7 @@
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--line);
padding-bottom: 15px;
padding-bottom: 12px;
}
.section-text strong {
display: block;
+2 -9
View File
@@ -27,8 +27,8 @@
<style>
.toggle {
position: relative;
width: 2.4rem;
height: 1.3rem;
width: 32px;
height: 18px;
border: 1px solid var(--line);
border-radius: 999px;
background: var(--background);
@@ -40,17 +40,10 @@
border-color: var(--blue);
}
.toggle-knob {
position: absolute;
top: 1px;
left: 1px;
width: calc(1.3rem - 4px);
height: calc(1.3rem - 4px);
border-radius: 50%;
background: var(--foreground);
transition: transform 0.12s ease;
}
.toggle.on .toggle-knob {
transform: translateX(1.1rem);
background: #fff;
}
</style>
@@ -17,12 +17,7 @@
<style>
.toggle-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
color: var(--foreground);
font-size: 0.85rem;
cursor: pointer;
}
</style>