Skip to content

Commit e4ea953

Browse files
committed
Fix commit highlighting on drag&drop to squash
Since the compare element has been moved to its own tab, the commit-list is no longer a child of compare-commit-list
1 parent 5d02609 commit e4ea953

1 file changed

Lines changed: 11 additions & 13 deletions

File tree

app/styles/ui/_app.scss

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -89,21 +89,19 @@
8989
// Note: there is another .compare-commit-list higher up when comparing so
9090
// the direct child selector is important.
9191
#compare-view {
92-
> .compare-commit-list {
93-
> #commit-list {
94-
.list-item:not(.selected) {
95-
.commit:hover {
96-
--text-color: var(--box-selected-active-text-color);
97-
--text-secondary-color: var(--box-selected-active-text-color);
92+
> #commit-list {
93+
.list-item:not(.selected) {
94+
.commit:hover {
95+
--text-color: var(--box-selected-active-text-color);
96+
--text-secondary-color: var(--box-selected-active-text-color);
9897

99-
color: var(--text-color);
100-
background-color: var(--box-selected-active-background-color);
101-
}
98+
color: var(--text-color);
99+
background-color: var(--box-selected-active-background-color);
100+
}
102101

103-
.commit {
104-
div {
105-
pointer-events: none;
106-
}
102+
.commit {
103+
div {
104+
pointer-events: none;
107105
}
108106
}
109107
}

0 commit comments

Comments
 (0)