diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-17 22:36:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-17 22:36:54 +0100 |
commit | 7130d6e51291b08df59f9580c7d6e1c1d97e7dad (patch) | |
tree | 1f07fbb242f233327caf17afbde6b395a71cf58b /app/javascript | |
parent | c3d1594576227fcbc45d1da97f474acbd23d831b (diff) |
Fix relationship manager on narrow screens (#10293)
At the cost of functionality
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/styles/mastodon/tables.scss | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/tables.scss b/app/javascript/styles/mastodon/tables.scss index d3a0ea03d..11ac6dfeb 100644 --- a/app/javascript/styles/mastodon/tables.scss +++ b/app/javascript/styles/mastodon/tables.scss @@ -149,6 +149,10 @@ a.table-action-link { margin-top: 0; } } + + @media screen and (max-width: $no-gap-breakpoint) { + display: none; + } } &__actions, @@ -170,6 +174,10 @@ a.table-action-link { text-align: right; padding-right: 16px - 5px; } + + @media screen and (max-width: $no-gap-breakpoint) { + display: none; + } } &__row { @@ -177,6 +185,12 @@ a.table-action-link { border-top: 0; background: darken($ui-base-color, 4%); + @media screen and (max-width: $no-gap-breakpoint) { + &:first-child { + border-top: 1px solid darken($ui-base-color, 8%); + } + } + &:hover { background: darken($ui-base-color, 2%); } @@ -215,5 +229,15 @@ a.table-action-link { border: 1px solid darken($ui-base-color, 8%); border-top: 0; box-shadow: none; + + @media screen and (max-width: $no-gap-breakpoint) { + border-top: 1px solid darken($ui-base-color, 8%); + } + } + + @media screen and (max-width: 870px) { + .accounts-table tbody td.optional { + display: none; + } } } |