{{template "repo/header" .}}
-

+

{{ctx.Locale.Tr "repo.wiki.pages"}} {{if and .CanWriteWiki (not .Repository.IsMirror)}} diff --git a/templates/repo/wiki/revision.tmpl b/templates/repo/wiki/revision.tmpl index 108e3789378..c59047a6404 100644 --- a/templates/repo/wiki/revision.tmpl +++ b/templates/repo/wiki/revision.tmpl @@ -3,7 +3,7 @@ {{template "repo/header" .}} {{$title := .title}}
-
+
{{svg "octicon-home"}}
diff --git a/templates/shared/searchbottom.tmpl b/templates/shared/searchbottom.tmpl index 4e0bd9570ba..b6a5f1b955c 100644 --- a/templates/shared/searchbottom.tmpl +++ b/templates/shared/searchbottom.tmpl @@ -1,5 +1,5 @@ {{if or .result.Language (not .result.UpdatedUnix.IsZero)}} -
+
{{if .result.Language}} {{.result.Language}} diff --git a/templates/user/notification/notification_div.tmpl b/templates/user/notification/notification_div.tmpl index 8a28f8dc620..a724ab725dd 100644 --- a/templates/user/notification/notification_div.tmpl +++ b/templates/user/notification/notification_div.tmpl @@ -3,7 +3,7 @@ {{$statusUnread := 1}}{{$statusRead := 2}}{{$statusPinned := 3}} {{$notificationUnreadCount := call .PageGlobalData.GetNotificationUnreadCount}} {{$pageTypeIsRead := eq $.PageType "read"}} -
+
{{if eq .Status 1}} -
+
-
- -
{{if not .Issues}} diff --git a/web_src/css/base.css b/web_src/css/base.css index 49ce6565c78..08033e4a6f0 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -873,7 +873,7 @@ table th[data-sortt-desc] .svg { gap: var(--gap-block); } -/* TODO: use this to replace all existing "flex + justify-between" (there are quite a lot) */ +/* this is useful to make a left-right (e.g.: title .... operations) layout with default gap, and it wrap for small widths */ .flex-left-right { display: flex; flex-wrap: wrap; @@ -883,15 +883,6 @@ table th[data-sortt-desc] .svg { min-width: 0; } -/* TODO: use this to replace all existing "flex + wrap" and (there are quite a lot of) */ -.flex-center-wrap { - display: flex; - flex-wrap: wrap; - align-items: center; - gap: var(--gap-block); - min-width: 0; -} - .ui.list.flex-items-block > .item, .ui.vertical.menu.flex-items-block > .item, .ui.form .field > label.flex-text-block, /* override fomantic "block" style */ @@ -903,6 +894,7 @@ table th[data-sortt-desc] .svg { min-width: 0; } +.flex-left-right > .ui.button, .flex-text-block > .ui.button, .flex-text-inline > .ui.button { margin: 0; /* fomantic buttons have default margin, when we use them in a flex container with gap, we do not need these margins */ diff --git a/web_src/js/components/RepoCodeFrequency.vue b/web_src/js/components/RepoCodeFrequency.vue index 6cba3c51091..97ce07cc350 100644 --- a/web_src/js/components/RepoCodeFrequency.vue +++ b/web_src/js/components/RepoCodeFrequency.vue @@ -144,7 +144,7 @@ const options: ChartOptions<'line'> = {