0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00

Mobile bug fixes for users view

This commit is contained in:
John O'Nolan 2014-09-23 12:54:56 +03:00 committed by Hannah Wolfe
parent 91d0ee9c2f
commit 99d1b2dd17

View file

@ -19,13 +19,13 @@
.object-list-item { .object-list-item {
@media (max-width: 600px) { @media (max-width: 500px) {
display: block; display: block;
padding: 15px 0; padding: 15px 0;
@include clearfix; @include clearfix;
} }
@media (min-width: 601px) { @media (min-width: 501px) {
display: flex; display: flex;
justify-content: start; justify-content: start;
align-items: center; align-items: center;
@ -40,12 +40,10 @@
a.object-list-item { a.object-list-item {
text-decoration: none; text-decoration: none;
&:hover { // Hover states only for large viewports
background: lighten($lightbrown, 5%); @media (min-width: 601px) {
} &:hover { background: lighten($lightbrown, 5%); }
&:last-of-type:hover { box-shadow: inset 0px -1px 0px $lightbrown; }
&:last-of-type:hover {
box-shadow: inset 0px -1px 0px $lightbrown;
} }
} }
@ -120,7 +118,7 @@ a.object-list-item {
@media (max-width: 500px) { @media (max-width: 500px) {
float: left; float: left;
width: 100%; width: 100%;
margin-top: 15px; margin: 12px 0 0 50px;
} }
.object-list-action:not(:first-of-type) { .object-list-action:not(:first-of-type) {