Skip to content

Commit 92aa7fe

Browse files
authored
Add CSS for Preview (#9)
2 parents 77c0b5e + d385e46 commit 92aa7fe

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/App.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,18 @@ footer a {
116116
footer a:hover {
117117
color: #0056b3;
118118
}
119+
120+
.preview {
121+
border: 1px solid #ccc;
122+
padding: 1rem;
123+
margin-top: 1rem;
124+
background-color: #fff;
125+
color: #000;
126+
max-height: 500px;
127+
overflow-y: auto;
128+
}
129+
.app.dark .preview {
130+
background-color: #1e1e1e;
131+
color: #ddd;
132+
border-color: #444;
133+
}

0 commit comments

Comments
 (0)