Skip to content

Commit

Permalink
fix: 调整MonacoEditor类名
Browse files Browse the repository at this point in the history
  • Loading branch information
lichunn committed Jan 7, 2025
1 parent a14a508 commit 78e7cc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/common/component/MonacoEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="toolbar-start">
<slot name="toolbarStart"></slot>
</div>
<div :class="['buttons', { fullscreen: fullscreen }]" id="icon-buttons">
<div :class="['buttons', { 'engine-fullscreen': fullscreen }]" id="icon-buttons">
<slot name="buttons"></slot>
<tiny-tooltip
v-if="showFormatBtn && options.language === 'json'"
Expand Down Expand Up @@ -148,7 +148,7 @@ export default {
top: var(--base-top-panel-height);
bottom: 0;
left: calc(var(--base-nav-panel-width) + var(--base-left-panel-width));
right: var(--base-left-panel-width);
right: var(--base-right-panel-width);
z-index: 100;
padding: 10px 16px 16px 16px;
background-color: var(--ti-lowcode-common-component-bg);
Expand All @@ -172,7 +172,7 @@ export default {
color: var(--te-common-icon-secondary);
}
}
.fullscreen {
.engine-fullscreen {
display: flex;
margin-right: 20px;
}
Expand Down

0 comments on commit 78e7cc0

Please sign in to comment.