diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-03-07 11:38:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-07 11:38:52 +0100 |
commit | dba4be1038063845a74e83aaa85d6ab08d5625dd (patch) | |
tree | 860f03ea524ae14d6e78a5f7aae0e7d2729a9d76 /app/javascript/styles/mastodon/containers.scss | |
parent | 292c75aa319c877406356a1cb4fb41f4ab597cfd (diff) |
Change appearance of account cards in web UI (#17689)
* Change appearance of account cards in web UI * Various fixes and improvements * Various fixes and improvements
Diffstat (limited to 'app/javascript/styles/mastodon/containers.scss')
-rw-r--r-- | app/javascript/styles/mastodon/containers.scss | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/app/javascript/styles/mastodon/containers.scss b/app/javascript/styles/mastodon/containers.scss index a180df437..81459f5ba 100644 --- a/app/javascript/styles/mastodon/containers.scss +++ b/app/javascript/styles/mastodon/containers.scss @@ -409,14 +409,6 @@ } } - .directory__card { - border-radius: 4px; - - @media screen and (max-width: $no-gap-breakpoint) { - border-radius: 0; - } - } - .page-header { @media screen and (max-width: $no-gap-breakpoint) { border-bottom: 0; @@ -835,19 +827,21 @@ grid-gap: 10px; grid-template-columns: minmax(0, 50%) minmax(0, 50%); + .account-card { + display: flex; + flex-direction: column; + } + @media screen and (max-width: $no-gap-breakpoint) { display: block; - } - .icon-button { - font-size: 18px; + .account-card { + margin-bottom: 10px; + display: block; + } } } - .directory__card { - margin-bottom: 0; - } - .card-grid { display: flex; flex-wrap: wrap; |