Align dropdown right (#14406)

This commit is contained in:
Kyle D 2021-01-19 18:08:21 -07:00 committed by GitHub
parent e05670da84
commit 41e19b93a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

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