Skip to content

Commit 21957ec

Browse files
committed
Increase font-size in chrome
1 parent e6fb06a commit 21957ec

23 files changed

+112
-109
lines changed

src/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
ul {
2424
overflow: auto;
2525
flex-grow: 1;
26-
padding-top: 0.6667rem; /* 8px */
26+
padding-top: 0.583rem; /* 8px */
2727
}
2828
2929
.root div {

src/Breadcrumbs.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
ul {
3434
display: flex;
3535
align-items: center;
36-
height: 1.833rem; /* 22px */
36+
height: 1.667rem; /* 22px */
3737
border-top: 1px solid rgb(224, 224, 226);
3838
}
3939
4040
li {
4141
display: flex;
4242
align-items: center;
43-
padding-left: 0.8333rem; /* 10px */
43+
padding-left: 0.75rem; /* 10px */
4444
cursor: pointer;
4545
}
4646
@@ -53,7 +53,7 @@
5353
}
5454
5555
li:last-child {
56-
padding-right: 0.8333rem; /* 10px */
56+
padding-right: 0.75rem; /* 10px */
5757
}
5858
5959
li:last-child div {
@@ -62,24 +62,24 @@
6262
6363
div {
6464
position: relative;
65-
margin-left: 0.8333rem; /* 10px */
65+
margin-left: 0.75rem; /* 10px */
6666
width: 0;
6767
height: 0;
6868
border-top: 0.25rem solid transparent; /* 3.5px */
6969
border-bottom: 0.25rem solid transparent; /* 3.5px */
70-
border-left: 0.4167rem solid #8e8eb2; /* 5px */
70+
border-left: 0.417rem solid #8e8eb2; /* 5px */
7171
}
7272
7373
div::after {
7474
position: absolute;
7575
top: -0.25rem; /* -3.5px */
76-
left: -0.4167rem; /* -5px */
76+
left: -0.417rem; /* -5px */
7777
display: block;
7878
width: 0;
7979
height: 0;
8080
border-top: 0.25rem solid transparent; /* 3.5px */
8181
border-bottom: 0.25rem solid transparent; /* 3.5px */
82-
border-left: 0.1667rem solid #ffffff; /* 2px */
82+
border-left: 0.167rem solid #ffffff; /* 2px */
8383
content: '';
8484
}
8585

src/ConnectMessage.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@
2020
}
2121
2222
h1 {
23-
margin-top: 2.727rem /* 30px */;
24-
margin-bottom: 0.727rem /* 8px */;
23+
margin-top: 2.5rem /* 30px */;
24+
margin-bottom: 0.667rem /* 8px */;
2525
font-size: 1.4em;
2626
}
2727
2828
ul {
29-
padding-left: 1.818rem /* 20px */;
29+
padding-left: 1.667rem /* 20px */;
3030
list-style-type: disc;
3131
}
3232
3333
li {
34-
margin-bottom: 0.727rem /* 8px */;
34+
margin-bottom: 0.667rem /* 8px */;
3535
}
3636
3737
:global(.dark) .button {

src/base.css

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
html {
22
height: 100%;
3-
font-size: 11px;
3+
font-size: 12px;
44
}
55

66
body {
77
display: flex;
88
margin: 0;
99
height: 100%;
1010
color: rgb(74, 74, 79);
11+
/* #if process.env.TARGET === 'firefox'
12+
font-size: 11px;
13+
/* #endif */
1114
font-family: monospace;
1215
}
1316

@@ -47,12 +50,12 @@ ul {
4750

4851
[data-tooltip]::after {
4952
position: absolute;
50-
bottom: -0.182rem /* -2px */;
53+
bottom: -0.167rem /* -2px */;
5154
left: 0;
5255
z-index: 1;
5356
display: block;
54-
padding: 0.545rem /* 6px */ 1.455rem /* 16px */;
55-
border-radius: 0.455rem /* 5px */;
57+
padding: 0.5rem /* 6px */ 1.333rem /* 16px */;
58+
border-radius: 0.417rem /* 5px */;
5659
background-color: rgb(48, 64, 81);
5760
color: white;
5861
content: attr(data-tooltip);
@@ -65,14 +68,14 @@ ul {
6568

6669
[data-tooltip]::before {
6770
position: absolute;
68-
bottom: -0.182rem /* -2px */;
69-
left: 2.727rem /* 30px */;
71+
bottom: -0.167rem /* -2px */;
72+
left: 2.5rem /* 30px */;
7073
display: block;
7174
width: 0;
7275
height: 0;
73-
border-right: 0.455rem /* 5px */ solid transparent;
74-
border-bottom: 0.455rem /* 5px */ solid rgb(48, 64, 81);
75-
border-left: 0.455rem /* 5px */ solid transparent;
76+
border-right: 0.417rem /* 5px */ solid transparent;
77+
border-bottom: 0.417rem /* 5px */ solid rgb(48, 64, 81);
78+
border-left: 0.417rem /* 5px */ solid transparent;
7679
content: '';
7780
opacity: 0;
7881
transition: opacity 0.2s;

src/nodes/Block.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
<style>
1414
div {
15-
height: 1.455rem /* 16px */;
16-
line-height: 1.455rem /* 16px */;
15+
height: 1.333rem /* 16px */;
16+
line-height: 1.333rem /* 16px */;
1717
}
1818
1919
div {

src/nodes/Collapse.svelte

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,30 @@
1010
position: relative;
1111
display: inline-block;
1212
align-self: stretch;
13-
width: 1.364rem /* 15px */;
13+
width: 1.25rem /* 15px */;
1414
vertical-align: bottom;
1515
cursor: pointer;
1616
}
1717
1818
span::after {
1919
position: absolute;
20-
bottom: 0.364rem /* 4px */;
21-
left: 0.364rem /* 4px */;
20+
bottom: 0.333rem /* 4px */;
21+
left: 0.333rem /* 4px */;
2222
width: 0;
2323
height: 0;
24-
border-top: 0.455rem /* 5px */ solid rgba(135, 135, 137, 0.9);
25-
border-right: 0.364rem /* 4px */ solid transparent;
26-
border-left: 0.364rem /* 4px */ solid transparent;
24+
border-top: 0.417rem /* 5px */ solid rgba(135, 135, 137, 0.9);
25+
border-right: 0.333rem /* 4px */ solid transparent;
26+
border-left: 0.333rem /* 4px */ solid transparent;
2727
content: '';
2828
transition: transform 0.3s;
2929
transform: rotate(0deg);
3030
}
3131
3232
:global(.node-tree) span::after {
3333
/* #if process.env.TARGET === 'chrome'
34-
bottom: 0.545rem /* 6px */
34+
bottom: 0.5rem /* 6px */
3535
/* #else */
36-
bottom: 0.455rem /* 5px */;
36+
bottom: 0.417rem /* 5px */;
3737
/* #endif */
3838
}
3939

src/nodes/Element.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
<style>
5353
div {
54-
line-height: 1.455rem /* 16px */;
54+
line-height: 1.333rem /* 16px */;
5555
}
5656
5757
.tag-name {

src/nodes/ElementAttributes.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
.attr-value {
1515
display: inline-block;
1616
overflow: hidden;
17-
max-width: 18.182rem /* 200px */;
17+
max-width: 16.667rem /* 200px */;
1818
color: rgb(0, 62, 170);
1919
vertical-align: bottom;
2020
text-overflow: ellipsis;

src/nodes/Iteration.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
<style>
88
div {
9-
height: 1.455rem /* 16px */;
10-
line-height: 1.455rem /* 16px */;
9+
height: 1.333rem /* 16px */;
10+
line-height: 1.333rem /* 16px */;
1111
}
1212
1313
div {

src/nodes/Node.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
4646
span {
4747
position: absolute;
48-
top: 1.6em;
49-
bottom: 1.6em;
48+
top: 1.6rem;
49+
bottom: 1.6rem;
5050
z-index: 1;
51-
width: 0.182rem /* 2px */;
51+
width: 0.167rem /* 2px */;
5252
background-color: #e0e0e2;
5353
}
5454

0 commit comments

Comments
 (0)