Browse Source

Fix doubled box-shadow in branch dropdown menu (#26678)

tags/v1.21.0-rc0
wxiaoguang 10 months ago
parent
commit
af33a1187b
No account linked to committer's email address

+ 1
- 1
templates/repo/branch_dropdown.tmpl View File

@@ -67,7 +67,7 @@

<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 */}}
<div class="ui floating filter dropdown custom">
<div class="ui dropdown custom">
<button class="branch-dropdown-button gt-ellipsis ui basic small compact button gt-df gt-m-0">
<span class="text gt-df gt-ac gt-mr-2">
{{if .release}}

+ 1
- 1
web_src/js/components/RepoBranchTagSelector.vue View File

@@ -1,5 +1,5 @@
<template>
<div class="ui floating filter dropdown custom">
<div class="ui dropdown custom">
<button class="branch-dropdown-button gt-ellipsis ui basic small compact button gt-df gt-m-0" @click="menuVisible = !menuVisible" @keyup.enter="menuVisible = !menuVisible">
<span class="text gt-df gt-ac gt-mr-2">
<template v-if="release">{{ textReleaseCompare }}</template>

Loading…
Cancel
Save