File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- <div class="ui secondary pointing tabular top attached borderless stackable menu new-menu navbar">
1
+ <div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
2
2
<a class="{{if .PageIsExploreRepositories}}active {{end}}item" href="{{AppSubUrl}}/explore/repos">
3
3
{{svg "octicon-repo"}} {{.locale.Tr "explore.repos"}}
4
4
</a>
Original file line number Diff line number Diff line change 2
2
<tr>
3
3
<td colspan="2">
4
4
<div class="image-diff" data-path-before="{{.root.BeforeRawPath}}/{{PathEscapeSegments .file.OldName}}" data-path-after="{{.root.RawPath}}/{{PathEscapeSegments .file.Name}}">
5
- <div class="ui secondary pointing tabular top attached borderless menu stackable new-menu">
5
+ <div class="ui secondary pointing tabular top attached borderless menu new-menu">
6
6
<div class="new-menu-inner">
7
7
<a class="item active" data-tab="diff-side-by-side-{{.file.Index}}">{{.root.locale.Tr "repo.diff.image.side_by_side"}}</a>
8
8
{{if and .blobBase .blobHead}}
Original file line number Diff line number Diff line change 1
- <div class="ui secondary pointing tabular top attached borderless menu stackable new-menu navbar">
1
+ <div class="ui secondary pointing tabular top attached borderless menu new-menu navbar">
2
2
<div class="new-menu-inner">
3
3
<a class="{{if .PageIsOpenIDConnect}}active {{end}}item" href="{{AppSubUrl}}/user/openid/connect">
4
4
{{.locale.Tr "auth.openid_connect_title"}}
Original file line number Diff line number Diff line change @@ -1915,7 +1915,7 @@ img.ui.avatar,
1915
1915
}
1916
1916
1917
1917
.ui .menu .new-menu .item {
1918
- margin : 0 !important ;
1918
+ margin-bottom : 0 !important ; /* reset fomantic's margin, because the active menu has special bottom border */
1919
1919
}
1920
1920
1921
1921
@media (max-width : 767px ) {
@@ -1924,8 +1924,13 @@ img.ui.avatar,
1924
1924
}
1925
1925
}
1926
1926
1927
+ .ui .menu .new-menu .item : first-child {
1928
+ margin-left : auto; /* "justify-content: center" doesn't work with "overflow: auto", so use margin: auto */
1929
+ }
1930
+
1927
1931
.ui .menu .new-menu .item : last-child {
1928
1932
padding-right : 30px !important ;
1933
+ margin-right : auto;
1929
1934
}
1930
1935
1931
1936
.ui .menu .new-menu ::-webkit-scrollbar {
Original file line number Diff line number Diff line change 1
1
.explore .navbar {
2
- justify-content : center;
3
2
margin-bottom : 15px !important ;
4
3
background-color : var (--color-navbar ) !important ;
5
4
border-width : 1px !important ;
Original file line number Diff line number Diff line change 32
32
color : var (--color-white ) !important ;
33
33
}
34
34
35
- .runner-container .runner-new-menu {
36
- width : 300px ;
37
- }
38
-
39
35
.runner-container .task-status-success {
40
36
background-color : var (--color-green );
41
37
color : var (--color-white );
You can’t perform that action at this time.
0 commit comments