summaryrefslogtreecommitdiffstats
path: root/css/style.scss
diff options
context:
space:
mode:
Diffstat (limited to 'css/style.scss')
-rw-r--r--css/style.scss21
1 files changed, 17 insertions, 4 deletions
diff --git a/css/style.scss b/css/style.scss
index cfdd86cbb..2d7e62dc1 100644
--- a/css/style.scss
+++ b/css/style.scss
@@ -225,10 +225,6 @@
flex-direction: column;
}
-#app-content-wrapper #commentsTabView .comment:first-child {
- padding-top: 15px;
-}
-
/* The lateral padding is set for each child instead of for the chat view as a
whole to prevent showing the scroll bar padded from the border of the chat
view (which could be fixed by using a negative margin and a positive padding
@@ -251,6 +247,15 @@
padding-right: 44px;
}
+
+#app-content-wrapper #commentsTabView .comments .wrapper-background,
+#app-content-wrapper #commentsTabView .comments .wrapper {
+ /* Padding is not respected in the comment wrapper due to its absolute
+ * positioning, so it must be set through its position. */
+ left: 44px;
+ right: 44px;
+}
+
/* Hide all siblings of the chat view when shown as the main view */
#app-content-wrapper #commentsTabView ~ *:not(#video-fullscreen):not([id^=tooltip]) {
display: none !important;
@@ -1223,6 +1228,14 @@ video {
padding-right: 15px;
}
+#app-sidebar #commentsTabView .comments .wrapper-background,
+#app-sidebar #commentsTabView .comments .wrapper {
+ /* Padding is not respected in the comment wrapper due to its absolute
+ * positioning, so it must be set through its position. */
+ left: 15px;
+ right: 15px;
+}
+
#app-sidebar #commentsTabView .newCommentForm {
/* Make room to show the "Add" button when chat is shown in the sidebar. */
margin-right: 44px;