Skip to content

Commit 7dd92f8

Browse files
committed
fix ellipsis, fix tippy item active
1 parent 436968a commit 7dd92f8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

templates/repo/wiki/revision.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div class="ui dividing header flex-text-block tw-flex-wrap tw-justify-between">
77
<div class="flex-text-block">
88
<a class="ui basic button tw-px-3" title="{{ctx.Locale.Tr "repo.wiki.back_to_wiki"}}" href="{{.RepoLink}}/wiki/{{.PageURL}}">{{svg "octicon-home"}}</a>
9-
<div class="tw-flex-1">
9+
<div class="tw-flex-1 gt-ellipsis">
1010
{{$title}}
1111
<div class="ui sub header gt-ellipsis">
1212
{{$timeSince := DateUtils.TimeSince .Author.When}}

web_src/css/modules/tippy.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@
9292
}
9393

9494
.tippy-box[data-theme="menu"] .item:focus {
95+
background: var(--color-hover);
96+
}
97+
98+
.tippy-box[data-theme="menu"] .item.active {
9599
background: var(--color-active);
96100
}
97101

0 commit comments

Comments
 (0)