Skip to content

Commit 892cf2a

Browse files
committed
fix: remove unnecessary padding
1 parent d06e9cd commit 892cf2a

File tree

5 files changed

+3
-111
lines changed

5 files changed

+3
-111
lines changed

src/App.css

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1 @@
1-
#root {
2-
max-width: 1280px;
3-
margin: 0 auto;
4-
padding: 2rem;
5-
text-align: center;
6-
}
71

8-
.logo {
9-
height: 6em;
10-
padding: 1.5em;
11-
will-change: filter;
12-
transition: filter 300ms;
13-
}
14-
.logo:hover {
15-
filter: drop-shadow(0 0 2em #646cffaa);
16-
}
17-
.logo.react:hover {
18-
filter: drop-shadow(0 0 2em #61dafbaa);
19-
}
20-
21-
@keyframes logo-spin {
22-
from {
23-
transform: rotate(0deg);
24-
}
25-
to {
26-
transform: rotate(360deg);
27-
}
28-
}
29-
30-
@media (prefers-reduced-motion: no-preference) {
31-
a:nth-of-type(2) .logo {
32-
animation: logo-spin infinite 20s linear;
33-
}
34-
}
35-
36-
.card {
37-
padding: 2em;
38-
}
39-
40-
.read-the-docs {
41-
color: #888;
42-
}

src/App.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ function App() {
4646
width: 250,
4747
borderRight: '1px solid #444',
4848
overflowY: 'auto',
49-
padding: '0.5rem',
5049
/* Subtle scrollbar styles (Firefox) */
5150
scrollbarWidth: 'thin',
5251
scrollbarColor: '#888 transparent'
@@ -71,7 +70,6 @@ function App() {
7170
style={{
7271
flex: 1,
7372
overflowY: 'auto',
74-
padding: '0.5rem',
7573
/* Subtle scrollbar - Webkit */
7674
WebkitOverflowScrolling: 'touch'
7775
}}
@@ -88,7 +86,6 @@ function App() {
8886
borderTop: '1px solid #444',
8987
backgroundColor: '#2e2e2e',
9088
overflowY: 'auto',
91-
padding: '0.5rem',
9289
/* Subtle scrollbar styles (Firefox) */
9390
scrollbarWidth: 'thin',
9491
scrollbarColor: '#888 transparent'

src/components/Terminal.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ const TerminalView: React.FC = () => {
4141
height: '100%',
4242
width: '100%',
4343
background: '#181818',
44-
borderRadius: '6px',
4544
boxShadow: '0 2px 8px rgba(0,0,0,0.15)',
4645
padding: '8px',
4746
overflow: 'hidden'

src/index.css

Lines changed: 2 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,4 @@
1-
:root {
2-
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
3-
line-height: 1.5;
4-
font-weight: 400;
5-
6-
color-scheme: light dark;
7-
color: rgba(255, 255, 255, 0.87);
8-
background-color: #242424;
9-
10-
font-synthesis: none;
11-
text-rendering: optimizeLegibility;
12-
-webkit-font-smoothing: antialiased;
13-
-moz-osx-font-smoothing: grayscale;
14-
}
15-
16-
a {
17-
font-weight: 500;
18-
color: #646cff;
19-
text-decoration: inherit;
20-
}
21-
a:hover {
22-
color: #535bf2;
23-
}
24-
251
body {
26-
margin: 0;
27-
display: flex;
28-
place-items: center;
29-
min-width: 320px;
30-
min-height: 100vh;
31-
}
32-
33-
h1 {
34-
font-size: 3.2em;
35-
line-height: 1.1;
36-
}
37-
38-
button {
39-
border-radius: 8px;
40-
border: 1px solid transparent;
41-
padding: 0.6em 1.2em;
42-
font-size: 1em;
43-
font-weight: 500;
44-
font-family: inherit;
45-
background-color: #1a1a1a;
46-
cursor: pointer;
47-
transition: border-color 0.25s;
48-
}
49-
button:hover {
50-
border-color: #646cff;
51-
}
52-
button:focus,
53-
button:focus-visible {
54-
outline: 4px auto -webkit-focus-ring-color;
55-
}
56-
57-
@media (prefers-color-scheme: light) {
58-
:root {
59-
color: #213547;
60-
background-color: #ffffff;
61-
}
62-
a:hover {
63-
color: #747bff;
64-
}
65-
button {
66-
background-color: #f9f9f9;
67-
}
2+
margin: 0;
3+
padding: 0;
684
}

src/main.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom/client';
3+
import './index.css'
34
import App from './App';
45
import * as BrowserFS from 'browserfs';
56

0 commit comments

Comments
 (0)