Skip to content

Commit 461bec3

Browse files
committed
Compress unnecessary css splitting.
1 parent 45201b4 commit 461bec3

File tree

4 files changed

+20
-21
lines changed

4 files changed

+20
-21
lines changed
Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
@import url("../../styles/popup-frame.css");
21
@import "tailwindcss";
2+
/* Popup window frame styles */
3+
:root {
4+
--popup-width: 600px;
5+
--popup-height: 400px;
6+
}
7+
8+
body {
9+
width: var(--popup-width);
10+
height: var(--popup-height);
11+
padding: 15px;
12+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
13+
font-size: 14px;
14+
line-height: 1.4;
15+
margin: 0;
16+
}

browser-extension/src/styles/globals.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

browser-extension/src/styles/popup-frame.css

Lines changed: 0 additions & 15 deletions
This file was deleted.

browser-extension/tests/playground/playground.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ const App = () => {
3030
key={mode}
3131
type='button'
3232
onClick={() => setActiveComponent(mode as Mode)}
33-
className={`px-3 py-2 rounded text-sm font-medium transition-colors ${activeComponent === mode
34-
? 'bg-blue-600 text-white'
35-
: 'bg-gray-100 text-gray-700 hover:bg-gray-200'
36-
}`}
33+
className={`px-3 py-2 rounded text-sm font-medium transition-colors ${
34+
activeComponent === mode
35+
? 'bg-blue-600 text-white'
36+
: 'bg-gray-100 text-gray-700 hover:bg-gray-200'
37+
}`}
3738
>
3839
{config.label}
3940
</button>

0 commit comments

Comments
 (0)