diff --git a/index.html b/index.html
index e6c4b13..ff59b20 100644
--- a/index.html
+++ b/index.html
@@ -119,6 +119,13 @@
flex-direction: column;
background-color: var(--bg-editor);
border-right: 2px solid #333;
+ transition: width 0.3s ease, transform 0.3s ease;
+ }
+
+ #editor-container.collapsed {
+ width: 0;
+ transform: translateX(-100%);
+ border-right: none;
}
#editor {
@@ -136,6 +143,11 @@
align-items: center;
justify-content: center;
overflow: hidden;
+ transition: width 0.3s ease;
+ }
+
+ #preview-container.full-width {
+ width: 100%;
}
canvas {
@@ -286,6 +298,11 @@