diff options
Diffstat (limited to 'src/styles/index.scss')
| -rw-r--r-- | src/styles/index.scss | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/styles/index.scss b/src/styles/index.scss index 9175250..d90d415 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -2,14 +2,19 @@ img { user-select: none; } -#cards { - overflow-x: auto; - flex-wrap: unset; +.center { + position: absolute; + height: 50%; + width: 50%; + top: 50%; + left: 50%; + translate-top: -50%; + translate-left: -50%; + transform: translate(-50%, -50%); +} +#cards { .col { - width: 18rem; - max-width: 18rem; - min-width: 18rem; overflow-y: auto; .card .card-header img { |
