Skip to content

Commit

Permalink
Align dropdown right (#14406)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdumontnu authored Jan 20, 2021
1 parent e05670d commit 41e19b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/repo/issue/view_content/add_reaction.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{if .ctx.IsSigned}}
<div class="item action ui pointing select-reaction dropdown" data-action-url="{{ .ActionURL }}">
<div class="item action ui pointing select-reaction dropdown top right" data-action-url="{{ .ActionURL }}">
<a class="add-reaction">
{{svg "octicon-smiley"}}
</a>
Expand Down
2 changes: 1 addition & 1 deletion templates/repo/issue/view_content/context_menu.tmpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{if .ctx.IsSigned}}
<div class="item action ui pointing custom dropdown context-dropdown">
<div class="item action ui pointing custom dropdown top right context-dropdown">
<a class="context-menu">
{{svg "octicon-kebab-horizontal"}}
</a>
Expand Down
2 changes: 1 addition & 1 deletion web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ a.ui.basic.label:hover {
}

/* fix misaligned right buttons on box headers */
.ui.attached.header .right {
.ui.attached.header .right:not(.dropdown) {
position: absolute;
right: .78571429rem;
top: 0;
Expand Down

0 comments on commit 41e19b9

Please sign in to comment.