diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2020-08-04 20:57:26 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2020-08-04 20:57:26 +0200 |
| commit | d564973aa896cbbdd89e192fe7c076e2dd7ed6a8 (patch) | |
| tree | 3131dbf97622e3c40a696c196998351e68be3792 /src/styles/index.scss | |
| parent | 25f512633704d3a1020a77addb77c3b9217f10fa (diff) | |
| download | startpage-master.tar.xz startpage-master.zip | |
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 { |
