Fix and/or comment some legacy CSS problems (#33015)

This commit is contained in:
wxiaoguang
2024-12-28 19:51:38 +08:00
committed by GitHub
parent 3d3ece36d2
commit a92f5057ae
6 changed files with 13 additions and 27 deletions

View File

@ -928,7 +928,8 @@ strong.attention-caution, svg.attention-caution {
color: var(--color-red-dark-1);
}
.center:not(.popup) {
/* FIXME: this is a longstanding dirty patch since 2015, it only makes the pages more messy and shouldn't be used */
.center {
text-align: center;
}

View File

@ -1,13 +1,4 @@
.explore .secondary-nav {
border-width: 1px !important;
}
.explore .secondary-nav .svg {
width: 16px;
text-align: center;
margin-right: 5px;
}
/* FIXME: need to refactor the repo branches list page and move these styles to proper place */
.ui.repository.branches .info {
font-size: 12px;
color: var(--color-text-light);
@ -20,12 +11,3 @@
overflow: hidden;
text-overflow: ellipsis;
}
.ui.repository.branches .overflow-visible {
overflow: visible;
}
/* fix alignment of PR popup in branches table */
.ui.repository.branches table .ui.popup {
text-align: left;
}

View File

@ -82,5 +82,6 @@
@import "./review.css";
@import "./actions.css";
@tailwind utilities;
@import "./helpers.css";
@tailwind utilities;

View File

@ -103,11 +103,11 @@
#navbar .ui.dropdown .navbar-profile-admin {
display: block;
position: absolute;
font-size: 10px;
font-size: 9px;
font-weight: var(--font-weight-bold);
color: var(--color-nav-bg);
background: var(--color-primary);
padding: 2px 4px;
padding: 2px 3px;
border-radius: 10px;
top: -1px;
left: 18px;