.editor-container { z-index: 5; position: absolute; padding: 20px; width: var(--editor-container-width); height: var(--editor-container-height); border: var(--border); border-radius: 10px; background: var(--body-bg); box-shadow: var(--box-shadow); overflow-x: hidden; overflow-y: auto; transition: max-width 0.5s ease-in-out; } .editor-header { display: inline-flex; text-align: left; margin-bottom: 35px; width: 100%; cursor: move; } .editor-header-btns { display: flex; gap: 5px; position: absolute; float: right; right: 20px; } .editor { height: var(--editor-height) !important; color: white !important; border-radius: 0px 0px 10px 10px; /* Top-left, top-right, bottom-right, bottom-left */ border: var(--border) !important; box-shadow: var(--box-shadow) !important; } .ql-toolbar { background: rgba(0, 0, 0, 0.4) !important; color: white !important; border-radius: 10px 10px 0px 0px; /* Top-left, top-right, bottom-right, bottom-left */ border: var(--border) !important; } /* Optional: Customize code block appearance */ .ql-snow .ql-code-block-container { padding: 4px !important; font-family: monospace; margin-bottom: 20px !important; border-radius: 4px !important; /* border: var(--border) !important; */ background: var(--select-bg) !important; box-shadow: var(--box-shadow) !important; } .ql-snow .ql-code-block { font-family: monospace; } .ql-toolbar button:hover { background: var(--body-bg) !important; } .ql-picker-options { color: white; border: none !important; border-radius: 10px; background: var(--body-bg); box-shadow: var(--box-shadow) !important; } select.ql-ui { padding: 5px 10px !important; color: #fff !important; height: 30px; border: var(--border); border-radius: 4px; background: var(--body-bg); background-color: var(--select-bg) !important; }