feat: merge comments.scss styles with component

This commit is contained in:
Dominik Pschenitschni 2021-10-18 14:20:07 +02:00
parent be35c73f6e
commit 46ebd45a74
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
3 changed files with 42 additions and 41 deletions

View file

@ -304,3 +304,45 @@ export default {
}, },
} }
</script> </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 "tasks";
@import "teams"; @import "teams";
@import "migrator"; @import "migrator";
@import "comments";
@import "table-view"; @import "table-view";
@import "kanban"; @import "kanban";
@import "list-backgrounds"; @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;
}
}