1
0

Improve comment avatars on mobile

This commit is contained in:
kolaente
2020-11-15 17:17:08 +01:00
parent 1d66218d5b
commit 460c30bd36
4 changed files with 107 additions and 32 deletions

View File

@ -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;
}
}
}