Skip to content
This repository was archived by the owner on Sep 21, 2021. It is now read-only.

Commit 3fc9f56

Browse files
mantarohjasonLaster
authored andcommitted
Change the splitter's variable name since m-c has changed these name. (#1082)
1 parent e265fca commit 3fc9f56

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

packages/devtools-splitter/src/SplitBox.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
}
4949

5050
.split-box.vert > .splitter {
51-
min-width: calc(var(--devtools-splitter-inline-start-width) +
52-
var(--devtools-splitter-inline-end-width) + 1px);
51+
min-width: var(--devtools-vertical-splitter-min-width);
5352

5453
border-left-width: var(--devtools-splitter-inline-start-width);
5554
border-right-width: var(--devtools-splitter-inline-end-width);
@@ -61,8 +60,10 @@
6160
}
6261

6362
.split-box.horz > .splitter {
64-
min-height: calc(var(--devtools-splitter-top-width) +
65-
var(--devtools-splitter-bottom-width) + 1px);
63+
/* Emphasize the horizontal splitter width and color */
64+
min-height: var(--devtools-emphasized-horizontal-splitter-min-height);
65+
66+
background-color: var(--theme-emphasized-splitter-color);
6667

6768
border-top-width: var(--devtools-splitter-top-width);
6869
border-bottom-width: var(--devtools-splitter-bottom-width);
@@ -73,6 +74,11 @@
7374
cursor: ns-resize;
7475
}
7576

77+
/* Emphasized splitter has the hover style. */
78+
.split-box.horz > .splitter:hover {
79+
background-color: var(--theme-emphasized-splitter-color-hover);
80+
}
81+
7682
.split-box.disabled {
7783
pointer-events: none;
7884
}

0 commit comments

Comments
 (0)