Skip to content

Commit fcb4941

Browse files
authored
Remove some unused CSS styles (#26852)
1. `icons`: globally searched, no use in templates. 2. toast's `display: inline-block;`: there is a `display: flex` below.
1 parent 3ff81d3 commit fcb4941

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

web_src/css/base.css

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1647,10 +1647,6 @@ img.ui.avatar,
16471647
margin-top: 1px;
16481648
}
16491649

1650-
i.icons .icon:first-child {
1651-
margin-right: 0;
1652-
}
1653-
16541650
.ui.label {
16551651
padding: 0.3em 0.5em;
16561652
transition: none;
@@ -1686,14 +1682,6 @@ a.ui.active.label:hover {
16861682
color: var(--color-label-text);
16871683
}
16881684

1689-
.ui.label > .detail .icons {
1690-
margin-right: 0.25em;
1691-
}
1692-
1693-
.ui.label > .detail .icons .icon {
1694-
margin-right: 0;
1695-
}
1696-
16971685
.lines-blame-btn {
16981686
padding-left: 10px;
16991687
padding-right: 10px;
@@ -2099,6 +2087,7 @@ table th[data-sortt-desc] .svg {
20992087
vertical-align: -0.15em;
21002088
}
21012089

2090+
/* for the jquery.minicolors plugin */
21022091
.minicolors-panel {
21032092
background: var(--color-secondary-dark-1) !important;
21042093
}

web_src/css/modules/toast.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
border-radius: var(--border-radius);
2929
background: transparent;
3030
border: none;
31-
display: inline-block;
3231
display: flex;
3332
width: 30px;
3433
height: 30px;

0 commit comments

Comments
 (0)