Skip to content

Commit b6da941

Browse files
committed
chore: put common styles into a separate file
1 parent 15102c4 commit b6da941

File tree

3 files changed

+23
-27
lines changed

3 files changed

+23
-27
lines changed

webdriver-ts-results/src/App.css

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,3 @@
1-
:root {
2-
--border-color: #ccc;
3-
}
4-
5-
*,
6-
::before,
7-
::after {
8-
box-sizing: border-box;
9-
}
10-
11-
body {
12-
font-family: Helvetica, Arial, sans-serif;
13-
font-size: 14px;
14-
margin: 0;
15-
padding: 0.5rem;
16-
}
17-
18-
a,
19-
a:active,
20-
a:hover {
21-
text-decoration: none;
22-
}
23-
241
thead.dummy th {
252
padding: 0;
263
border: 0;
@@ -184,7 +161,3 @@ dd {
184161
.check-full-width::after {
185162
display: inline-block;
186163
}
187-
188-
.page-container {
189-
padding: 0.5rem;
190-
}

webdriver-ts-results/src/index.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
:root {
2+
--border-color: #ccc;
3+
}
4+
5+
*,
6+
::before,
7+
::after {
8+
box-sizing: border-box;
9+
}
10+
11+
body {
12+
font-family: Helvetica, Arial, sans-serif;
13+
font-size: 14px;
14+
margin: 0;
15+
padding: 0.5rem;
16+
}
17+
18+
a,
19+
a:active,
20+
a:hover {
21+
text-decoration: none;
22+
}

webdriver-ts-results/src/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import React from "react";
22
import App from "./App.tsx";
33
import { createRoot } from "react-dom/client";
4+
import "./index.css";
45

56
createRoot(document.getElementById("root")!).render(
67
<React.StrictMode>

0 commit comments

Comments
 (0)