Skip to content

Commit 6b5b5bf

Browse files
committed
fix code view button
1 parent 1b4d3c5 commit 6b5b5bf

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

web_src/css/repo/linebutton.css

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22
color: var(--color-text-dark) !important;
33
}
44

5-
.code-line-button {
5+
.ui.button.code-line-button {
66
border: 1px solid var(--color-secondary);
7-
border-radius: var(--border-radius);
8-
padding: 1px 4px !important;
7+
padding: 1px 4px;
8+
margin: 0;
9+
min-height: 0;
910
position: absolute;
10-
font-family: var(--fonts-regular);
11-
left: 0;
12-
transform: translateX(calc(-50% + 6px));
13-
cursor: pointer;
11+
left: 6px;
1412
}
1513

16-
.code-line-button:hover {
17-
background: var(--color-secondary) !important;
14+
.ui.button.code-line-button:hover {
15+
background: var(--color-secondary);
1816
}

0 commit comments

Comments
 (0)