mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Fix button alignments and remove unnecessary styles (#34206)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -212,7 +212,7 @@ export default defineComponent({ | ||||
|   <div class="ui scrolling dropdown custom diff-commit-selector"> | ||||
|     <button | ||||
|       ref="expandBtn" | ||||
|       class="ui basic button" | ||||
|       class="ui tiny basic button" | ||||
|       @click.stop="toggleMenu()" | ||||
|       :data-tooltip-content="locale.filter_changes_by_commit" | ||||
|       aria-haspopup="true" | ||||
|   | ||||
| @@ -217,13 +217,13 @@ export default defineComponent({ | ||||
| </script> | ||||
| <template> | ||||
|   <div class="ui dropdown custom branch-selector-dropdown ellipsis-text-items"> | ||||
|     <div tabindex="0" class="ui button branch-dropdown-button" @click="menuVisible = !menuVisible"> | ||||
|     <div tabindex="0" class="ui compact button branch-dropdown-button" @click="menuVisible = !menuVisible"> | ||||
|       <span class="flex-text-block gt-ellipsis"> | ||||
|         <template v-if="dropdownFixedText">{{ dropdownFixedText }}</template> | ||||
|         <template v-else> | ||||
|           <svg-icon v-if="currentRefType === 'tag'" name="octicon-tag"/> | ||||
|           <svg-icon v-else name="octicon-git-branch"/> | ||||
|           <strong ref="dropdownRefName" class="tw-ml-2 tw-inline-block gt-ellipsis">{{ currentRefShortName }}</strong> | ||||
|           <strong ref="dropdownRefName" class="tw-inline-block gt-ellipsis">{{ currentRefShortName }}</strong> | ||||
|         </template> | ||||
|       </span> | ||||
|       <svg-icon name="octicon-triangle-down" :size="14" class="dropdown icon"/> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kerwin Bryant
					Kerwin Bryant