* Add "simple view" mode support It just hide elements from view when SIMPLE_VIEW recived from server * Fix typing and add ts check before push * proper input styling * Changes for frontend dev compose * remove SIMPLE_VIEW from default settings for forntend dev * add private compose to gitignore * Added simpleView mode for replay and edit modes. * `simpleView` changed to required param * FIx border-width in reply form * Fix border-width in editing mode
33 lines
580 B
SCSS
33 lines
580 B
SCSS
.comment_editing {
|
|
.comment__text {
|
|
display: none;
|
|
}
|
|
|
|
.comment__score {
|
|
top: 4px;
|
|
right: 0;
|
|
}
|
|
|
|
/* it isn't mobile first, but it's fine here */
|
|
@media (-moz-touch-enabled: 1) and (max-width: 768px), (pointer: coarse) and (max-width: 768px) {
|
|
border: 8px solid;
|
|
padding-bottom: 0;
|
|
|
|
.comment__body {
|
|
padding: 8px 8px 0;
|
|
}
|
|
|
|
.comment__input {
|
|
border-left-width: 0;
|
|
border-right-width: 0;
|
|
border-bottom-width: 0;
|
|
border-top-width: 8px;
|
|
}
|
|
|
|
.comment__score {
|
|
top: 12px;
|
|
right: 8px;
|
|
}
|
|
}
|
|
}
|