Files
deck/src/css/comments.scss
Julius Härtl 3c6e6bb29c Wrap lines properly in comment text
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-28 12:37:08 +02:00

53 lines
700 B
SCSS

.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 {
padding: 10px;
}
.spacer {
flex-grow: 1;
}
.timestamp {
color: var(--color-text-maxcontrast);
}
}
.comment--content {
margin-left: 44px;
word-break: break-word;
}