Converted card width to css var
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
}
|
||||
|
||||
.game-card {
|
||||
width: 420px;
|
||||
width: var(--card-width);
|
||||
}
|
||||
|
||||
.full-width-field {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
}
|
||||
|
||||
.match-results {
|
||||
width: 420px;
|
||||
width: var(--card-width);
|
||||
}
|
||||
|
||||
.match-results-text {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
.match-score {
|
||||
margin: 1rem 0;
|
||||
width: 420px;
|
||||
width: var(--card-width);
|
||||
}
|
||||
|
||||
.score-box {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
import { GameFacade } from '../store/game';
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
/* You can add global styles to this file, and also import other style files */
|
||||
|
||||
:root {
|
||||
--card-width: 420px;
|
||||
}
|
||||
|
||||
|
||||
html, body { height: 100%; }
|
||||
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
|
||||
|
||||
Reference in New Issue
Block a user