Skip to content

Commit 0a22e47

Browse files
committed
Improve popup css
1 parent d6f2cc5 commit 0a22e47

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

src/disabled_popup.html

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<title>Firefox Profiler - Profiling Not Available</title>
77
<style>
88
:root {
9-
--bg-color: #ffffff;
9+
--bg-color: #fff;
1010
--text-color: #333;
1111
--heading-color: #d32f2f;
1212
--note-color: #666;
@@ -21,38 +21,41 @@
2121
}
2222
}
2323

24+
html {
25+
width: 370px;
26+
}
27+
2428
body {
25-
font-family: Arial, sans-serif;
26-
margin: 0;
27-
padding: 20px;
28-
background-color: var(--bg-color);
29-
color: var(--text-color);
3029
width: 370px;
3130
box-sizing: border-box;
3231
padding: 20px;
32+
margin: 0;
33+
background-color: var(--bg-color);
34+
color: var(--text-color);
35+
font-family: Arial, sans-serif;
3336
}
3437

3538
h1 {
36-
color: var(--heading-color);
37-
font-size: 20px;
38-
margin-top: 0;
3939
display: flex;
4040
align-items: center;
41+
margin-top: 0;
42+
color: var(--heading-color);
43+
font-size: 20px;
4144
}
4245

4346
h1 svg {
4447
margin-right: 10px;
4548
}
4649

4750
p {
51+
margin-bottom: 15px;
4852
font-size: 14px;
4953
line-height: 1.5;
50-
margin-bottom: 15px;
5154
}
5255

5356
.note {
54-
font-style: italic;
5557
color: var(--note-color);
58+
font-style: italic;
5659
}
5760
</style>
5861
</head>

0 commit comments

Comments
 (0)