Skip to content

Commit 9f25dd5

Browse files
authored
fix: improve workbench height & box-sizing (#223)
1 parent e46c5de commit 9f25dd5

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

src/components/collapse/style.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ $collapse__extra: #{$collapse}__extra;
4040
&__header {
4141
align-items: center;
4242
border: 1px solid transparent;
43+
box-sizing: border-box;
4344
cursor: pointer;
4445
display: flex;
4546
font-size: 11px;
4647
font-weight: bold;
47-
height: 22px;
48+
height: 25px;
4849
outline: none;
4950
padding: 1px 2px;
5051
user-select: none;

src/workbench/activityBar/style.scss

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
#{$activityBar} {
44
flex: 1;
5-
padding-bottom: 20px;
65
width: 48px;
76

87
&__container {

src/workbench/sidebar/style.scss

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
position: relative;
77
width: 100%;
88

9+
&-explorer {
10+
height: 100%;
11+
}
12+
913
h2 {
1014
cursor: default;
1115
font-size: 11px;
@@ -44,7 +48,7 @@
4448

4549
&__content {
4650
bottom: 0;
47-
height: calc(100vh - 57px);
51+
height: calc(100% - 35px);
4852
left: 0;
4953
position: relative;
5054
right: 0;

src/workbench/style.scss

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#{$workbench} {
44
bottom: 0;
5+
height: calc(100% - 22px);
56
left: 0;
67
position: absolute;
78
right: 0;

0 commit comments

Comments
 (0)