forked from mirrors/Gitea-Modern
Temporary fix packages page
This commit is contained in:
parent
44a1d1d1ad
commit
4f7849a634
1 changed files with 14 additions and 14 deletions
|
@ -580,7 +580,7 @@ html {
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (min-width:850px) {
|
@media only screen and (min-width:850px) {
|
||||||
.page-content.repository:not(.issues.repository.milestones) {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-row-gap: 10px;
|
grid-row-gap: 10px;
|
||||||
grid-template-columns: 100px calc(100% - 100px);
|
grid-template-columns: 100px calc(100% - 100px);
|
||||||
|
@ -591,15 +591,15 @@ html {
|
||||||
margin: auto
|
margin: auto
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones)>.middle {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages)>.middle {
|
||||||
grid-column: 1/span 2
|
grid-column: 1/span 2
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper {
|
||||||
display: contents
|
display: contents
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper>.ui.container:first-child {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper>.ui.container:first-child {
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
grid-column: 1/span 2;
|
grid-column: 1/span 2;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -608,8 +608,8 @@ html {
|
||||||
box-shadow: none !important
|
box-shadow: none !important
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper>.ui.container:first-child .avatar,
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper>.ui.container:first-child .avatar,
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper>.ui.container:first-child .repo-icon {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper>.ui.container:first-child .repo-icon {
|
||||||
width: 50px !important;
|
width: 50px !important;
|
||||||
height: 50px !important;
|
height: 50px !important;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
@ -624,13 +624,13 @@ html {
|
||||||
z-index: 2
|
z-index: 2
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper>.ui.container:first-child .repo-title-wrap {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper>.ui.container:first-child .repo-title-wrap {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row !important;
|
flex-direction: row !important;
|
||||||
align-items: center
|
align-items: center
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper>.ui.container:first-child .fork-flag {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper>.ui.container:first-child .fork-flag {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
margin-left: 6px !important;
|
margin-left: 6px !important;
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
|
@ -639,7 +639,7 @@ html {
|
||||||
border: 1px solid var(--color-secondary)
|
border: 1px solid var(--color-secondary)
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper .tabs {
|
||||||
order: -1;
|
order: -1;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
|
@ -655,7 +655,7 @@ html {
|
||||||
min-height: calc(100vh - 40px)
|
min-height: calc(100vh - 40px)
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs::before {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper .tabs::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
@ -667,7 +667,7 @@ html {
|
||||||
opacity: .8
|
opacity: .8
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper .tabs .tabular {
|
||||||
flex-direction: column !important;
|
flex-direction: column !important;
|
||||||
padding-right: 30px;
|
padding-right: 30px;
|
||||||
overflow: visible !important;
|
overflow: visible !important;
|
||||||
|
@ -675,15 +675,15 @@ html {
|
||||||
border-bottom: 0 !important
|
border-bottom: 0 !important
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .tabs .tabular::before {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper .tabs .tabular::before {
|
||||||
content: unset !important
|
content: unset !important
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones) .header-wrapper .divider {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages) .header-wrapper .divider {
|
||||||
display: none
|
display: none
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-content.repository:not(.issues.repository.milestones)>.ui.container {
|
.page-content.repository:not(.issues.repository.milestones):not(.packages)>.ui.container {
|
||||||
width: 100%
|
width: 100%
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue