Skip to content

Commit a467a2b

Browse files
authored
Merge branch 'main' into main
2 parents 1c3226e + 1f05417 commit a467a2b

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

templates/repo/header.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
</div><!-- end grid -->
145145
</div><!-- end container -->
146146
{{end}}
147-
<div class="ui tabs container">
147+
<div class="ui tabs container repo-header-container">
148148
{{if not (or .Repository.IsBeingCreated .Repository.IsBroken)}}
149149
<div class="ui tabular stackable menu navbar">
150150
{{if .Permission.CanRead $.UnitTypeCode}}

web_src/less/_repository.less

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2956,11 +2956,21 @@ tbody.commit-list {
29562956
justify-content: space-between;
29572957
flex-wrap: wrap;
29582958
word-break: break-word;
2959+
2960+
@media @mediaSm {
2961+
+ .container {
2962+
margin-top: 7px;
2963+
}
2964+
}
29592965
}
29602966

29612967
.repo-buttons {
29622968
display: flex;
29632969
align-items: center;
2970+
2971+
@media @mediaSm {
2972+
margin-top: 1em;
2973+
}
29642974
}
29652975

29662976
.repo-buttons .ui.labeled.button > .label:hover {
@@ -3227,3 +3237,18 @@ td.blob-excerpt {
32273237
transform: scale(105%);
32283238
box-shadow: 0 .5rem 1rem var(--color-shadow) !important;
32293239
}
3240+
3241+
@media @mediaSm {
3242+
.repo-header-container {
3243+
overflow-x: auto;
3244+
overflow-y: hidden;
3245+
3246+
.ui.stackable.menu {
3247+
flex-direction: row;
3248+
3249+
.item {
3250+
width: initial !important;
3251+
}
3252+
}
3253+
}
3254+
}

0 commit comments

Comments
 (0)