Align dropdown right (#14406)

tokarchuk/v1.17
Kyle D 4 years ago committed by GitHub
parent e05670da84
commit 41e19b93a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      templates/repo/issue/view_content/add_reaction.tmpl
  2. 2
      templates/repo/issue/view_content/context_menu.tmpl
  3. 2
      web_src/less/_base.less

@ -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>

@ -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>

@ -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;

Loading…
Cancel
Save