Skip to content

Commit 41e19b9

Browse files
authored
Align dropdown right (#14406)
1 parent e05670d commit 41e19b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

templates/repo/issue/view_content/add_reaction.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{if .ctx.IsSigned}}
2-
<div class="item action ui pointing select-reaction dropdown" data-action-url="{{ .ActionURL }}">
2+
<div class="item action ui pointing select-reaction dropdown top right" data-action-url="{{ .ActionURL }}">
33
<a class="add-reaction">
44
{{svg "octicon-smiley"}}
55
</a>

templates/repo/issue/view_content/context_menu.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{if .ctx.IsSigned}}
2-
<div class="item action ui pointing custom dropdown context-dropdown">
2+
<div class="item action ui pointing custom dropdown top right context-dropdown">
33
<a class="context-menu">
44
{{svg "octicon-kebab-horizontal"}}
55
</a>

web_src/less/_base.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1784,7 +1784,7 @@ a.ui.basic.label:hover {
17841784
}
17851785

17861786
/* fix misaligned right buttons on box headers */
1787-
.ui.attached.header .right {
1787+
.ui.attached.header .right:not(.dropdown) {
17881788
position: absolute;
17891789
right: .78571429rem;
17901790
top: 0;

0 commit comments

Comments
 (0)