diff --git a/src/components/editor/EditorPanel.vue b/src/components/editor/EditorPanel.vue index 62f75a7..eb2c255 100644 --- a/src/components/editor/EditorPanel.vue +++ b/src/components/editor/EditorPanel.vue @@ -27,6 +27,18 @@ + +
@@ -74,6 +86,33 @@ nav { z-index: 2; } +.close-button { + position: absolute; + top: 1rem; + right: 1rem; + z-index: 2; + + width: 2rem; + height: 2rem; + padding: 0.25rem; + + background: transparent; + border: none; + cursor: pointer; + + color: var(--color-browngray-300); + transition: color 0.2s ease; + + &:hover { + color: var(--color-browngray-100); + } + + svg { + width: 100%; + height: 100%; + } +} + .tab-content { flex: 1; overflow: hidden;