fix: comment alignment (#1008)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1008
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-11-16 20:02:11 +00:00 committed by konrad
parent d0635ae4a1
commit ed78a83ed9

View file

@ -306,24 +306,16 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.media.comment { .media-left {
align-items: center; margin: 0 1rem;
}
.media-left { .comment-info {
margin: 0 1rem; display: flex;
} align-items: center;
gap: .5rem;
.comment-info {
display: flex;
align-items: center;
* {
padding-right: .5rem;
}
img {
display: none;
img {
@media screen and (max-width: $tablet) { @media screen and (max-width: $tablet) {
display: block; display: block;
width: 20px; width: 20px;
@ -331,22 +323,20 @@ export default {
padding-right: 0; padding-right: 0;
margin-right: .5rem; margin-right: .5rem;
} }
}
@media screen and (min-width: $tablet) {
display: none;
}
}
span { span {
font-size: .75rem; font-size: .75rem;
line-height: 1; line-height: 1;
} }
}
.editor {
margin-top: .5rem;
}
} }
.media-content { .media-content {
width: calc(100% - 48px - 2rem); width: calc(100% - 48px - 2rem);
} }
</style> </style>