Fix relationship manager on narrow screens (#10293)

At the cost of functionality
This commit is contained in:
Eugen Rochko 2019-03-17 22:36:54 +01:00 committed by GitHub
parent c3d1594576
commit 7130d6e512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -149,6 +149,10 @@ a.table-action-link {
margin-top: 0; margin-top: 0;
} }
} }
@media screen and (max-width: $no-gap-breakpoint) {
display: none;
}
} }
&__actions, &__actions,
@ -170,6 +174,10 @@ a.table-action-link {
text-align: right; text-align: right;
padding-right: 16px - 5px; padding-right: 16px - 5px;
} }
@media screen and (max-width: $no-gap-breakpoint) {
display: none;
}
} }
&__row { &__row {
@ -177,6 +185,12 @@ a.table-action-link {
border-top: 0; border-top: 0;
background: darken($ui-base-color, 4%); 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 { &:hover {
background: darken($ui-base-color, 2%); background: darken($ui-base-color, 2%);
} }
@ -215,5 +229,15 @@ a.table-action-link {
border: 1px solid darken($ui-base-color, 8%); border: 1px solid darken($ui-base-color, 8%);
border-top: 0; border-top: 0;
box-shadow: none; 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;
}
} }
} }