Skip to content

Commit 27fcfae

Browse files
authored
Fix some broken css (#23560)
1. The "close" inside "modal" are likely broken for long time * There is no var called `--body-color` * There is no `fullscreen modal` * The `.ui.modal > .close.inside` doesn't seem to match most icons. It only matches a few like "fork-repo-modal" or "adopt repo". Other places are just buggy code copied again and again. 2. Convert the legacy `&:hover` LESS syntax to CSS syntax
1 parent 53b609e commit 27fcfae

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

web_src/css/base.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,10 +1173,8 @@ a.ui.card:hover,
11731173
border-color: var(--color-secondary);
11741174
}
11751175

1176-
.ui.modal > .close.inside,
1177-
.ui.fullscreen.modal > .close {
1178-
top: 11px; /* align modal close icon, for example admin notices */
1179-
color: var(--body-color);
1176+
.ui.modal > .close.inside {
1177+
color: var(--color-text);
11801178
}
11811179

11821180
.ui.basic.table > tbody > tr {

web_src/css/code/linebutton.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
left: 0;
1818
transform: translateX(-70%);
1919
cursor: pointer;
20+
}
2021

21-
&:hover {
22-
color: var(--color-primary);
23-
}
22+
.code-line-button:hover {
23+
color: var(--color-primary);
2424
}

0 commit comments

Comments
 (0)