mirror of
1
Fork 0

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

View File

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