Move sidebar tabs to individual components

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-01-25 10:20:58 +01:00
parent ad069e5e14
commit cf67c2e323
5 changed files with 214 additions and 75 deletions

44
src/css/comments.scss Normal file
View File

@@ -0,0 +1,44 @@
.comment-form form {
display: flex;
flex-grow: 1;
position: relative;
.editor__content::v-deep {
flex-grow: 1;
margin-left: 44px;
.ProseMirror {
width: 100%;
}
}
input[type="submit"] {
width: 44px;
height: 44px;
margin: 0;
padding: 13px;
background-color: transparent;
border: none;
opacity: .3;
position: absolute;
bottom: 0;
right: 0;
}
}
.comment {
margin-bottom: 10px;
}
.comment--header {
display: flex;
align-items: center;
color: var(--color-text-light);
.username {
flex-grow: 1;
padding: 10px;
}
}
.comment--content {
margin-left: 44px;
}