mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
fix: permissions table on mobile is unusable (#3722)
This commit is contained in:
parent
a4f4ee8e71
commit
2d2bf5c504
|
@ -50,7 +50,6 @@
|
|||
color: var(--muted-color);
|
||||
}
|
||||
thead th {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
padding-bottom: 10px;
|
||||
|
@ -63,9 +62,12 @@
|
|||
z-index: 1;
|
||||
|
||||
&:first-child {
|
||||
left: 0;
|
||||
z-index: 3;
|
||||
background: var(--body-bg);
|
||||
|
||||
@media @tablet-up {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:not(:hover) .PermissionGrid-removeScope {
|
||||
|
@ -74,13 +76,15 @@
|
|||
}
|
||||
tbody {
|
||||
th {
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
left: 0;
|
||||
padding-right: 50px;
|
||||
z-index: 4;
|
||||
background: inherit;
|
||||
|
||||
@media @tablet-up {
|
||||
position: sticky;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin-right: 5px;
|
||||
font-size: 14px;
|
||||
|
|
Loading…
Reference in New Issue
Block a user