1
0
mirror of https://github.com/danbee/scoreboard synced 2025-03-04 08:59:11 +00:00

Fix styling in iOS Safari.

This commit is contained in:
Daniel Barber 2015-05-10 15:25:34 +01:00
parent 5e78777fdb
commit 3ac9ef57d3

View File

@ -6,10 +6,12 @@ body {
.scores { .scores {
position: absolute; position: absolute;
top: 0; bottom: 2em; left: 0; right: 0; top: 0; bottom: 2em; left: 0; right: 0;
display: -webkit-flex;
display: flex; display: flex;
-webkit-flex-direction: row;
flex-direction: row; flex-direction: row;
} }
.scores div { position: relative; flex-grow: 1; } .scores div { position: relative; -webkit-flex-grow: 1; }
.scores div .score { .scores div .score {
position: absolute; position: absolute;
bottom: 2rem; bottom: 2rem;