Improve comment avatars on mobile
This commit is contained in:
@ -5,29 +5,36 @@
|
||||
margin: 0 1em;
|
||||
}
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
.comment-info.is-pulled-up {
|
||||
margin-bottom: -3rem;
|
||||
.comment-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
* {
|
||||
padding-right: .5rem;
|
||||
}
|
||||
|
||||
img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: $tablet) {
|
||||
img {
|
||||
display: block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
padding-right: 0;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: .75rem;
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.editor .tabs {
|
||||
margin-bottom: 0;
|
||||
|
||||
ul {
|
||||
border-bottom: none;
|
||||
}
|
||||
.editor {
|
||||
margin-top: .5rem;
|
||||
}
|
||||
|
||||
.comment-actions {
|
||||
font-size: .8em;
|
||||
|
||||
&, a {
|
||||
color: $grey;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
@ -5,6 +5,7 @@ $red: #ff4136;
|
||||
$blue: #1973ff;
|
||||
$primary: $blue;
|
||||
$dark: lighten($black, 8);
|
||||
$grey: hsl(0, 0%, 48%);
|
||||
|
||||
$info-invert: #fff;
|
||||
$family-sans-serif: 'Open Sans', Helvetica, Arial, sans-serif;
|
||||
|
Reference in New Issue
Block a user