Align dropdown right (#14406)

release/v1.15
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}} {{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"> <a class="add-reaction">
{{svg "octicon-smiley"}} {{svg "octicon-smiley"}}
</a> </a>

View File

@ -1,5 +1,5 @@
{{if .ctx.IsSigned}} {{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"> <a class="context-menu">
{{svg "octicon-kebab-horizontal"}} {{svg "octicon-kebab-horizontal"}}
</a> </a>

View File

@ -1784,7 +1784,7 @@ a.ui.basic.label:hover {
} }
/* fix misaligned right buttons on box headers */ /* fix misaligned right buttons on box headers */
.ui.attached.header .right { .ui.attached.header .right:not(.dropdown) {
position: absolute; position: absolute;
right: .78571429rem; right: .78571429rem;
top: 0; top: 0;