mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-14 18:52:05 +03:00
Merge pull request #5484 from JohnONolan/O
Fix mobile display bugs on user list
This commit is contained in:
commit
0dac251ffe
@ -22,26 +22,14 @@
|
||||
}
|
||||
|
||||
.user-list-item {
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
align-items: center;
|
||||
padding: 0 15px;
|
||||
height: 68px;
|
||||
border-top: 1px solid #dfe1e3;
|
||||
}
|
||||
|
||||
@media (max-width: 550px) {
|
||||
.user-list-item {
|
||||
display: block;
|
||||
padding: 15px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 551px) {
|
||||
.user-list-item {
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
align-items: center;
|
||||
padding: 0 15px;
|
||||
height: 68px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Only apply these styles to anchor tags (pending invited are divs) */
|
||||
a.user-list-item {
|
||||
text-decoration: none;
|
||||
@ -98,14 +86,6 @@ a.user-list-item {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 550px) {
|
||||
.user-list-item-icon,
|
||||
.user-list-item-figure {
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.user-list-item-body {
|
||||
flex: 1 1 auto;
|
||||
align-items: stretch;
|
||||
@ -113,12 +93,6 @@ a.user-list-item {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
@media (max-width: 550px) {
|
||||
.user-list-item-body {
|
||||
margin-top: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.user-list-item-body .name {
|
||||
display: inline-block;
|
||||
color: var(--darkgrey);
|
||||
@ -134,24 +108,10 @@ a.user-list-item {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
@media (max-width: 550px) {
|
||||
.user-list-item-aside {
|
||||
float: left;
|
||||
margin: 12px 0 0 50px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.user-list-item-aside .user-list-action:not(:first-of-type) {
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
@media (min-width: 551px) {
|
||||
.user-list-item-aside .user-list-action:not(:first-of-type) {
|
||||
margin-left: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
.user-list-item-aside .role-label {
|
||||
float: left;
|
||||
margin-top: -1px;
|
||||
|
Loading…
Reference in New Issue
Block a user