Commit 0c850ff9 authored by Phil Hughes's avatar Phil Hughes

Merge branch '356703-decrease-file-header-height' into 'master'

Reduce size of file header buttons

See merge request gitlab-org/gitlab!85322
parents ecfb7470 5f491df8
...@@ -340,6 +340,7 @@ export default { ...@@ -340,6 +340,7 @@ export default {
:title="__('Copy file path')" :title="__('Copy file path')"
:text="diffFile.file_path" :text="diffFile.file_path"
:gfm="gfmCopyText" :gfm="gfmCopyText"
size="small"
data-testid="diff-file-copy-clipboard" data-testid="diff-file-copy-clipboard"
category="tertiary" category="tertiary"
data-track-action="click_copy_file_button" data-track-action="click_copy_file_button"
...@@ -392,6 +393,7 @@ export default { ...@@ -392,6 +393,7 @@ export default {
/> />
<gl-dropdown <gl-dropdown
v-gl-tooltip.hover.focus="$options.i18n.optionsDropdownTitle" v-gl-tooltip.hover.focus="$options.i18n.optionsDropdownTitle"
size="small"
right right
toggle-class="btn-icon js-diff-more-actions" toggle-class="btn-icon js-diff-more-actions"
class="gl-pt-0!" class="gl-pt-0!"
...@@ -400,7 +402,7 @@ export default { ...@@ -400,7 +402,7 @@ export default {
@hidden="setMoreActionsShown(false)" @hidden="setMoreActionsShown(false)"
> >
<template #button-content> <template #button-content>
<gl-icon name="ellipsis_v" class="mr-0" /> <gl-icon name="ellipsis_v" class="mr-0" :size="12" />
<span class="sr-only">{{ $options.i18n.optionsDropdownTitle }}</span> <span class="sr-only">{{ $options.i18n.optionsDropdownTitle }}</span>
</template> </template>
<gl-dropdown-item <gl-dropdown-item
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment