Skip to content

Commit 6c2e378

Browse files
authored
Merge pull request #113 from farend/fix-header-style-of-comment
Fix header style for issue and forum comments
2 parents f715fc6 + 4be8cd0 commit 6c2e378

File tree

4 files changed

+13
-16
lines changed

4 files changed

+13
-16
lines changed

src/styles/components/_boards.scss

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
background-color: $color-history-bg;
3737
position: absolute;
3838
left: 6px;
39-
top: 16px;
39+
top: 19px;
4040
border-radius: 50%;
4141
box-shadow: 0 0 0 3px $color-timeline;
4242
z-index: 1;
@@ -53,7 +53,7 @@
5353
}
5454

5555
&:first-of-type:after {
56-
top: 15px;
56+
top: 19px;
5757
}
5858

5959
&:last-of-type:after {
@@ -96,13 +96,11 @@
9696
&:before {
9797
content: '';
9898
position: absolute;
99-
left: -6px;
99+
left: -8px;
100100
top: 8px;
101-
width: 0;
102-
height: 0;
103-
border-top: 5px solid transparent;
104-
border-bottom: 5px solid transparent;
105-
border-right: 6px solid $color-note-title-bg;
101+
border-width: 7px 10px 7px 0;
102+
border-style: solid;
103+
border-color: transparent $color-note-title-bg transparent transparent;
106104
}
107105

108106
.gravatar {
@@ -114,13 +112,12 @@
114112
}
115113
}
116114

117-
// #change-n #note-n
118-
&:target h4.note-header, div:target h4.note-header {
115+
&:target h4.reply-header {
119116
background: $color-target-bg;
120117

121118
&:before {
122-
border-right: 6px solid $color-target-bg;
119+
border-right-color: $color-target-bg;
123120
}
124121
}
125122
}
126-
}
123+
}

src/styles/components/_issues.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ div#update .jstTabs.tabs li a {
209209
background: $color-target-bg;
210210

211211
&:before {
212-
border-right: 6px solid $color-target-bg;
212+
border-right-color: $color-target-bg;
213213
}
214214
}
215215

@@ -276,4 +276,4 @@ fieldset#filters td.values input {
276276

277277
.issue-card {
278278
background-color: $color-issue-bg;
279-
}
279+
}

0 commit comments

Comments
 (0)