Skip to content

Commit 8ae9e1f

Browse files
committed
Better positioning of timer in layouts
1 parent 2827dad commit 8ae9e1f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/graphics/_misc/themes/default.theme.css

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ body {
1818
}
1919

2020
*[class*='Timer'] span {
21+
/* FUCK WINDOWS */
22+
margin-bottom: 10px;
2123
color: var(--timer-color);
2224
text-shadow: 0 0 var(--timer-glow) var(--timer-color);
2325
/*box-shadow: 0 0 10px var(--timer-color);*/

src/graphics/game-layout/components/Timer.vue

+1-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
// width: ([2, 5].includes(i)) ? undefined : '0.75em',
4646
// 'text-align': 'center',
4747
// Make the colon appear more towards the centre.
48-
'margin-top': ([2, 5].includes(i)) ? '-0.2em' : '-4px',
48+
'margin-top': ([2, 5].includes(i)) ? '-0.2em' : undefined,
4949
}"
5050
>
5151
{{ char }}
@@ -118,8 +118,6 @@ export default class extends Vue {
118118

119119
<style lang="scss" scoped>
120120
span {
121-
display: inline-flex;
122121
font-variant-numeric: tabular-nums;
123-
font-stretch: condensed;
124122
}
125123
</style>

0 commit comments

Comments
 (0)