Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0e37201

Browse files
committed
Add spacing between items
Also fix padding not being respected when blocks exceed container height.
1 parent 21cfeb9 commit 0e37201

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/browser/pages/global.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
html,
22
body,
3-
#root,
4-
.center-container {
3+
#root {
54
height: 100%;
65
width: 100%;
76
}
@@ -39,7 +38,9 @@ button {
3938
display: flex;
4039
flex-direction: column;
4140
justify-content: center;
41+
min-height: 100%;
4242
padding: 20px;
43+
width: 100%;
4344
}
4445

4546
.card-box {

src/browser/pages/home.css

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
.block-row > .item {
66
flex: 1;
7+
margin: 2px 0;
78
}
89

910
.block-row > .item.-row {

0 commit comments

Comments
 (0)