Skip to content

Commit 8ea4c93

Browse files
committed
various styles
1 parent 583ccb2 commit 8ea4c93

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

webview/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,27 @@
99
box-sizing: border-box;
1010
padding-top: 32px;
1111
}
12+
body {
13+
display: flex;
14+
flex-flow: column;
15+
align-items: center;
16+
}
1217

1318
#snippet-container {
19+
display: flex;
20+
justify-content: center;
21+
align-items: center;
22+
overflow: hidden;
23+
resize: both;
1424
background-color: #f2f2f2;
1525
padding: 22px;
1626
border-radius: 4px;
1727
opacity: 0;
1828
transition: opacity .4s;
1929
}
2030
#snippet {
31+
overflow: hidden;
32+
resize: both;
2133
display: flex;
2234
padding: 18px;
2335
padding-bottom: 22px;

0 commit comments

Comments
 (0)