Skip to content

Commit 37701dc

Browse files
committed
remove 'normal header'
1 parent 424a39a commit 37701dc

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

templates/repo/diff/box.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
{{$isExpandable := or (gt $file.Addition 0) (gt $file.Deletion 0) $file.IsBin}}
111111
{{$isReviewFile := and $.IsSigned $.PageIsPullFiles (not $.IsArchived) $.IsShowingAllCommits}}
112112
<div class="diff-file-box diff-box file-content {{TabSizeClass $.Editorconfig $file.Name}} gt-mt-0" id="diff-{{$file.NameHash}}" data-old-filename="{{$file.OldName}}" data-new-filename="{{$file.Name}}" {{if or ($file.ShouldBeHidden) (not $isExpandable)}}data-folded="true"{{end}}>
113-
<h4 class="diff-file-header sticky-2nd-row ui top attached normal header tw-flex tw-items-center tw-justify-between tw-flex-wrap">
113+
<h4 class="diff-file-header sticky-2nd-row ui top attached header tw-font-normal tw-flex tw-items-center tw-justify-between tw-flex-wrap">
114114
<div class="diff-file-name tw-flex tw-items-center gt-gap-2 tw-flex-wrap">
115115
<button class="fold-file btn interact-bg gt-p-2{{if not $isExpandable}} tw-invisible{{end}}">
116116
{{if $file.ShouldBeHidden}}
@@ -218,7 +218,7 @@
218218

219219
{{if .Diff.IsIncomplete}}
220220
<div class="diff-file-box diff-box file-content gt-mt-3" id="diff-incomplete">
221-
<h4 class="ui top attached normal header tw-flex tw-items-center tw-justify-between">
221+
<h4 class="ui top attached header tw-font-normal tw-flex tw-items-center tw-justify-between">
222222
{{ctx.Locale.Tr "repo.diff.too_many_files"}}
223223
<a class="ui basic tiny button" id="diff-show-more-files" data-href="?skip-to={{.Diff.End}}&file-only=true">{{ctx.Locale.Tr "repo.diff.show_more"}}</a>
224224
</h4>

templates/shared/search/code/results.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{{range $result := .SearchResults}}
1313
{{$repo := or $.Repo (index $.RepoMaps .RepoID)}}
1414
<div class="diff-file-box diff-box file-content non-diff-file-content repo-search-result">
15-
<h4 class="ui top attached normal header tw-flex tw-flex-wrap">
15+
<h4 class="ui top attached header tw-font-normal tw-flex tw-flex-wrap">
1616
{{if not $.Repo}}
1717
<span class="file tw-flex-1">
1818
<a rel="nofollow" href="{{$repo.Link}}">{{$repo.FullName}}</a>

web_src/css/modules/header.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,6 @@ h4.ui.header .sub.header {
154154
border-color: var(--color-warning-border) !important;
155155
}
156156

157-
.ui .normal.header {
158-
font-weight: var(--font-weight-normal);
159-
}
160-
161157
.attention-header {
162158
padding: 0.5em 0.75em !important;
163159
color: var(--color-text) !important;

0 commit comments

Comments
 (0)