mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 08:57:03 -05:00
Revert "add gap between branch dropdown and PR button"
This change does not bring the desired benefit, because the button is reinitialized from a Vue component once loaded, overriding this change and causing a visual glitch upon page load (the button is moving its position). See the comment: > this code must match the code in BranchTagSelector.vue This button is also used in other places such as the release list where the additional margin does not fit well. As such, this needs a new solution. This reverts commit18cad9d342
. (cherry picked from commit04e2e1510d
)
This commit is contained in:
parent
c87ff7dc1d
commit
fd8565c91a
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@
|
||||||
<div class="js-branch-tag-selector {{if .ContainerClasses}}{{.ContainerClasses}}{{end}}">
|
<div class="js-branch-tag-selector {{if .ContainerClasses}}{{.ContainerClasses}}{{end}}">
|
||||||
{{/* show dummy elements before Vue componment is mounted, this code must match the code in BranchTagSelector.vue */}}
|
{{/* show dummy elements before Vue componment is mounted, this code must match the code in BranchTagSelector.vue */}}
|
||||||
<div class="ui dropdown custom">
|
<div class="ui dropdown custom">
|
||||||
<button class="branch-dropdown-button gt-ellipsis ui basic small compact button tw-flex tw-m-2">
|
<button class="branch-dropdown-button gt-ellipsis ui basic small compact button tw-flex tw-m-0">
|
||||||
<span class="text tw-flex tw-items-center tw-mr-1 gt-ellipsis">
|
<span class="text tw-flex tw-items-center tw-mr-1 gt-ellipsis">
|
||||||
{{if .release}}
|
{{if .release}}
|
||||||
{{ctx.Locale.Tr "repo.release.compare"}}
|
{{ctx.Locale.Tr "repo.release.compare"}}
|
||||||
|
|
Loading…
Reference in a new issue