Retrospring/app/javascript/styles/components/_comments.scss

41 lines
578 B
SCSS
Raw Normal View History

2020-05-02 12:23:04 -07:00
.comment {
list-style-type: none;
2020-05-04 20:04:54 -07:00
margin-bottom: map-get($spacers, 2);
2020-05-02 12:23:04 -07:00
&__container {
padding-left: 0;
}
&__user,
&__content {
margin-bottom: 0;
word-break: break-word;
2020-05-02 12:23:04 -07:00
}
&__user-avatar {
margin-right: map-get($spacers, 2);
border-radius: $avatar-border-radius;
}
&__input-group {
position: relative;
}
&__input {
z-index: 99;
padding-right: 2.5rem;
2022-10-13 13:29:25 -07:00
&.is-invalid {
background-image: none;
}
2020-05-02 12:23:04 -07:00
}
&__character-count {
position: absolute;
z-index: 100;
right: .5rem;
top: .5rem;
}
}