mirror of
https://github.com/correl/planning-poker.git
synced 2024-11-14 19:19:30 +00:00
Fix centering of wrapped elements
This commit is contained in:
parent
2b2947fc02
commit
09a4523263
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,14 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title>Planningpoker · Phoenix Framework</title>
|
||||
<script defer type="text/javascript" src="<%= Routes.static_path(@conn, "/js/app.js") %>"></script>
|
||||
<style>
|
||||
/* Hack to account for elm-ui failing to center wrapped elements
|
||||
See: https://github.com/mdgriffith/elm-ui/issues/57
|
||||
*/
|
||||
.s.r > s:first-of-type.accx { flex-grow: 0 !important; }
|
||||
.s.r > s:last-of-type.accx { flex-grow: 0 !important; }
|
||||
.cx > .wrp { justify-content: center !important; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="elm-main"></div>
|
||||
|
|
Loading…
Reference in a new issue