Merge branch 'main' into main

This commit is contained in:
6543 2022-04-23 19:16:05 +02:00 committed by GitHub
commit a467a2b5d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 1 deletions

View file

@ -144,7 +144,7 @@
</div><!-- end grid -->
</div><!-- end container -->
{{end}}
<div class="ui tabs container">
<div class="ui tabs container repo-header-container">
{{if not (or .Repository.IsBeingCreated .Repository.IsBroken)}}
<div class="ui tabular stackable menu navbar">
{{if .Permission.CanRead $.UnitTypeCode}}

View file

@ -2956,11 +2956,21 @@ tbody.commit-list {
justify-content: space-between;
flex-wrap: wrap;
word-break: break-word;
@media @mediaSm {
+ .container {
margin-top: 7px;
}
}
}
.repo-buttons {
display: flex;
align-items: center;
@media @mediaSm {
margin-top: 1em;
}
}
.repo-buttons .ui.labeled.button > .label:hover {
@ -3227,3 +3237,18 @@ td.blob-excerpt {
transform: scale(105%);
box-shadow: 0 .5rem 1rem var(--color-shadow) !important;
}
@media @mediaSm {
.repo-header-container {
overflow-x: auto;
overflow-y: hidden;
.ui.stackable.menu {
flex-direction: row;
.item {
width: initial !important;
}
}
}
}