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.
This commit is contained in:
wxiaoguang 2023-09-01 14:59:38 +08:00 committed by GitHub
parent 3ff81d38d8
commit fcb4941d47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 13 deletions

View file

@ -1647,10 +1647,6 @@ img.ui.avatar,
margin-top: 1px;
}
i.icons .icon:first-child {
margin-right: 0;
}
.ui.label {
padding: 0.3em 0.5em;
transition: none;
@ -1686,14 +1682,6 @@ a.ui.active.label:hover {
color: var(--color-label-text);
}
.ui.label > .detail .icons {
margin-right: 0.25em;
}
.ui.label > .detail .icons .icon {
margin-right: 0;
}
.lines-blame-btn {
padding-left: 10px;
padding-right: 10px;
@ -2099,6 +2087,7 @@ table th[data-sortt-desc] .svg {
vertical-align: -0.15em;
}
/* for the jquery.minicolors plugin */
.minicolors-panel {
background: var(--color-secondary-dark-1) !important;
}

View file

@ -28,7 +28,6 @@
border-radius: var(--border-radius);
background: transparent;
border: none;
display: inline-block;
display: flex;
width: 30px;
height: 30px;