Skip to content

Commit 77df1c2

Browse files
authored
fix: optimize style (#24)
1 parent e712eed commit 77df1c2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/devtools/src/app/components/code/DiffEditor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ function _onUpdate(size: number) {
133133

134134
<template>
135135
<div h-full w-full max-h-100vh :class="oneColumn ? 'flex' : 'grid grid-cols-2'">
136-
<div v-show="!oneColumn" ref="fromEl" class="h-full max-h-100vh" />
137-
<div ref="toEl" class="h-full max-h-100vh" />
136+
<div v-show="!oneColumn" ref="fromEl" h-full max-h-100vh />
137+
<div ref="toEl" h-full max-h-100vh :class="oneColumn ? 'w-full' : ''" />
138138
</div>
139139
</template>
140140

packages/devtools/src/app/styles/cm.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ html:not(.dark) {
2626
--cm-regex: #ab5e3f;
2727
--cm-json-property: #698c96;
2828
--cm-selection-background: #44444410;
29-
--cm-line-number-gutter: #fafafa50;
29+
--cm-line-number-gutter: #fafafa;
3030
}
3131

3232
html.dark {
@@ -52,7 +52,7 @@ html.dark {
5252
--cm-line-number: #888888;
5353
--cm-line-highlight-background: #444444;
5454
--cm-selection-background: #44444450;
55-
--cm-line-number-gutter: #1a1a1a50;
55+
--cm-line-number-gutter: #1a1a1a;
5656
}
5757

5858

0 commit comments

Comments
 (0)