Skip to content

Commit 50efb5c

Browse files
committed
fixing overall font size and layouts
1 parent 9ecb005 commit 50efb5c

7 files changed

Lines changed: 32 additions & 17 deletions

File tree

packages/devtool-extenstion/src/components/DiffView/index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
padding: 1rem 0.3rem;
55

66
.jsondiffpatch-delta {
7-
font-size: 1rem;
7+
font-size: 0.85rem;
88

99
pre {
10-
font-size: 1rem;
10+
font-size: 0.85rem;
1111
}
1212
}
1313

packages/devtool-extenstion/src/components/JsonEditor/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.json-editor {
22
flex: 1;
33
overflow: auto;
4-
font-size: 1rem;
4+
font-size: 0.85rem;
55
height: 100%;
66

77
.CodeMirror {

packages/devtool-extenstion/src/components/JsonTree/index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
overflow: auto;
77
background-color: var(--view-bg-color) !important;
88
padding: 1rem;
9-
font-size: 1rem;
9+
font-size: 0.8rem;
1010

1111
.copy-icon {
1212
svg {
13-
font-size: 1rem !important;
13+
font-size: 0.8rem !important;
1414
}
1515
}
1616
}

packages/devtool-extenstion/src/containers/ContextView/index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
position: relative;
99
display: flex;
1010
align-items: center;
11-
padding: 2rem 1rem 0 1rem;
11+
padding: 1.6rem 1rem 0 1rem;
1212
justify-content: space-between;
1313
border-bottom: 1px solid var(--border-color);
1414

1515
.view-selector {
1616
position: absolute;
1717
right: 1rem;
18-
bottom: 0.8rem;
18+
bottom: 0.7rem;
1919
}
2020
}
2121

packages/devtool-extenstion/src/containers/Header/index.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ header {
33
background-color: var(--header-bg-color);
44
border-bottom: 1px solid var(--border-color);
55
display: flex;
6-
font-size: 1rem;
7-
padding: 1rem;
6+
font-size: 0.9rem;
7+
padding: 0.7rem 1rem;
88
}

packages/devtool-extenstion/src/containers/Sidebar/index.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#firefox.popupHtml, #firefox.devpanelHtml {
2+
aside {
3+
width: 190px;
4+
}
5+
}
6+
17
aside {
28
display: flex;
39
flex-direction: column;
@@ -9,7 +15,7 @@ aside {
915
align-items: center;
1016
border-bottom: 1px solid var(--border-color);
1117
display: flex;
12-
padding: 1.5rem 0.7rem;
18+
padding: 1rem 0.7rem;
1319

1420
.funnel {
1521
color: var(--disabled-font-color);
@@ -29,7 +35,7 @@ aside {
2935
li {
3036
border-bottom: 1px solid var(--border-color);
3137
cursor: pointer;
32-
font-size: 0.9rem;
38+
font-size: 0.85rem;
3339
padding: 1rem 1rem 1.5rem;
3440
position: relative;
3541
word-break: break-all;

packages/devtool-extenstion/src/containers/UseReducerView/index.scss

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#popupRoot {
22
.use-reducer-view {
33
.action-view {
4-
min-width: 180px;
5-
max-width: 180px;
4+
min-width: 170px;
5+
max-width: 170px;
66
}
77

88
.state-view {
@@ -11,6 +11,15 @@
1111
}
1212
}
1313

14+
#firefox.popupHtml, #firefox.devpanelHtml {
15+
.use-reducer-view {
16+
.action-view {
17+
min-width: 170px;
18+
max-width: 170px;
19+
}
20+
}
21+
}
22+
1423
.use-reducer-view-wrapper {
1524
display: flex;
1625
flex-direction: column;
@@ -31,10 +40,10 @@
3140
border-right: 1px solid var(--border-color);
3241

3342
.title {
34-
font-size: 1.45rem;
43+
font-size: 1.3rem;
3544
border-bottom: 1px solid var(--border-color);
3645
margin: 0;
37-
padding: 1.2rem 1rem;
46+
padding: 1.1rem;
3847
}
3948

4049
ul {
@@ -83,14 +92,14 @@
8392
position: relative;
8493
display: flex;
8594
align-items: center;
86-
padding: 2rem 1rem 0 1rem;
95+
padding: 1.6rem 1rem 0 1rem;
8796
justify-content: space-between;
8897
border-bottom: 1px solid var(--border-color);
8998

9099
.view-selector {
91100
position: absolute;
92101
right: 1rem;
93-
bottom: 0.8rem;
102+
bottom: 0.7rem;
94103
}
95104
}
96105

0 commit comments

Comments
 (0)