Skip to content

Commit 25204e3

Browse files
committed
Vertical centering modal with flexbox.
Fixes #2.
1 parent e11c5e6 commit 25204e3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

css/site.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,11 +271,12 @@ path {
271271
font-weight: bold;
272272
font-size: 2em;
273273
text-align: center;
274-
padding-top: 50%;
274+
display: flex;
275+
align-items: center;
276+
justify-content: center;
275277
}
276278

277279
#success-modal svg {
278280
position: relative;
279-
top: 0.3em;
280281
margin-right: 0.25em;
281282
}

0 commit comments

Comments
 (0)