Skip to content

Commit f78e36b

Browse files
authored
fix(threaded-replies): fix styling for replies (#3110)
* fix(threaded-replies): fix styling for replies * fix(threaded-replies): fix styling for replies * fix(threaded-replies): fix styling for replies * fix(threaded-replies): minor amendments
1 parent 103a5d1 commit f78e36b

File tree

3 files changed

+31
-11
lines changed

3 files changed

+31
-11
lines changed

src/elements/content-sidebar/activity-feed/activity-feed/ActivityThread.scss

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
@import '../../../common/variables';
22

3-
.bcs-ActivityThread-toggle {
4-
margin-left: $sidebarActivityFeedSpacingHorizontal;
5-
color: $bdl-box-blue;
6-
font-weight: bold;
3+
.bcs-ActivityThread {
4+
.bcs-ActivityThread-toggle {
5+
color: $bdl-box-blue;
76

8-
&:hover,
9-
&:active {
10-
margin-left: $sidebarActivityFeedSpacingHorizontal;
11-
font-weight: bold;
7+
&,
8+
&:hover,
9+
&:active {
10+
margin-top: -$bdl-grid-unit * 2; // to decreased spacing with parent comment
11+
margin-left: $sidebarActivityFeedSpacingHorizontal;
12+
font-weight: bold;
13+
}
14+
}
15+
16+
.bcs-ActivityCard {
17+
margin: $sidebarActivityFeedSpacingVertical $sidebarActivityFeedSpacingHorizontal;
18+
padding: 0;
19+
}
20+
21+
.btn-plain:focus-visible {
22+
outline: auto;
1223
}
1324
}
1425

src/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplies.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66

77
&::before {
88
position: absolute;
9-
top: $sidebarActivityFeedSpacingVertical;
10-
bottom: $sidebarActivityFeedSpacingVertical;
9+
top: 0;
10+
bottom: 0;
1111
left: $sidebarActivityFeedSpacingHorizontal;
12-
width: 4px;
12+
width: $bdl-grid-unit;
1313
background: $bdl-gray-10;
14+
border-radius: $bdl-border-radius-size;
1415
content: '';
1516
}
1617
}

src/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplyForm.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.bcs-ActivityThreadReplyForm-toggle {
44
display: flex;
55
align-items: center;
6+
color: $bdl-gray-62;
67

78
&,
89
&:hover {
@@ -16,6 +17,13 @@
1617
}
1718
}
1819

20+
.btn-plain.bcs-ActivityThreadReplyForm-toggle {
21+
&,
22+
&:hover {
23+
font-weight: bold;
24+
}
25+
}
26+
1927
.bcs-CommentForm.bcs-ActivityThreadReplyForm-comment {
2028
padding-top: 0;
2129
border-top: none;

0 commit comments

Comments
 (0)