feat: merge comments.scss styles with component

This commit is contained in:
Dominik Pschenitschni 2021-10-18 14:20:07 +02:00
parent 259275c5b5
commit a99bf472ed
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
3 changed files with 42 additions and 41 deletions

View File

@ -304,3 +304,45 @@ export default {
},
}
</script>
<style lang="scss" scoped>
.media.comment {
align-items: center;
.media-left {
margin: 0 1rem;
}
.comment-info {
display: flex;
align-items: center;
* {
padding-right: .5rem;
}
img {
display: none;
@media screen and (max-width: $tablet) {
display: block;
width: 20px;
height: 20px;
padding-right: 0;
margin-right: .5rem;
}
}
span {
font-size: .75rem;
line-height: 1;
}
}
.editor {
margin-top: .5rem;
}
}
</style>

View File

@ -9,7 +9,6 @@
@import "tasks";
@import "teams";
@import "migrator";
@import "comments";
@import "table-view";
@import "kanban";
@import "list-backgrounds";

View File

@ -1,40 +0,0 @@
.media.comment {
align-items: center;
.media-left {
margin: 0 1rem;
}
.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 {
margin-top: .5rem;
}
}