Skip to content

Commit 00cad5a

Browse files
authored
Add mobile responsive styles for layout adjustments
1 parent 55109aa commit 00cad5a

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

styles.css

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,5 +610,54 @@ input[type="range"]::-webkit-slider-runnable-track {
610610
width: 100%;
611611
height: 100%;
612612
object-position: center;
613+
}
614+
615+
/* --- Mobile Responsive Styles --- */
616+
@media (max-width: 800px) {
617+
body {
618+
flex-direction: column;
619+
overflow-y: auto;
620+
}
621+
622+
.sidebar {
623+
width: 100%;
624+
height: auto;
625+
border-right: none;
626+
border-bottom: 1px solid var(--border-color);
627+
}
628+
629+
.preview-area {
630+
height: auto;
631+
min-height: 70vh;
632+
overflow: visible;
633+
}
634+
635+
.preview-container {
636+
padding: 2rem 0;
637+
}
638+
639+
.controls.active {
640+
display: grid;
641+
grid-template-columns: 1fr 1fr;
642+
gap: 1rem;
643+
align-items: end;
644+
}
645+
646+
.control-group {
647+
margin-bottom: 0;
648+
}
649+
650+
.control-group:last-child {
651+
grid-column: 1 / -1; /* Print button spans both columns */
652+
}
653+
654+
.zoom-controls {
655+
bottom: 1.5rem;
656+
right: 1.5rem;
657+
padding: 0.4rem;
658+
}
659+
660+
.zoom-controls button {
661+
padding: 0.4rem;
613662
}
614663
}

0 commit comments

Comments
 (0)