feat: Add BlockEditor component for managing block styles and properties in the simulation dashboard.

This commit is contained in:
2025-12-20 17:41:39 +05:30
parent 9a4edf07e5
commit 8df26eeb9c
2 changed files with 17 additions and 15 deletions

View File

@@ -305,6 +305,7 @@ const BlockEditor: React.FC<BlockEditorProps> = ({
<div className="design-section appearance">
<div className="section-header">Appearance</div>
<div className="design-datas-wrapper">
{currentBlock.positionType === "absolute" && (
<>

View File

@@ -709,18 +709,6 @@
}
}
&.element-editor-panel {
right: 20px;
top: 50px;
// min-width: 300px;
max-height: 84vh;
overflow: auto;
max-width: 320px;
position: fixed;
top: 80px;
right: 40px;
.appearance {
.design-datas-wrapper {
@@ -737,6 +725,19 @@
}
}
&.element-editor-panel {
right: 20px;
top: 50px;
// min-width: 300px;
max-height: 84vh;
overflow: auto;
max-width: 320px;
position: fixed;
top: 80px;
right: 40px;
.swap-button {
text-align: center;
color: #ccacff;