Commit 90c8824b authored by Martin Wortschack's avatar Martin Wortschack

Fix group styles in dropdown

- Indent group path
parent e747d771
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
rowTemplate(group) { rowTemplate(group) {
return ` return `
<li> <li>
<a href='#' class='dropdown-menu-link'> <a href='#' class='dropdown-menu-link d-flex'>
${this.avatarTemplate(group)} ${this.avatarTemplate(group)}
<div class="js-group-path align-middle">${this.formatGroupPath( <div class="js-group-path align-middle">${this.formatGroupPath(
group.full_name, group.full_name,
...@@ -100,9 +100,9 @@ export default { ...@@ -100,9 +100,9 @@ export default {
}, },
avatarTemplate(group) { avatarTemplate(group) {
return group.avatar_url !== null return group.avatar_url !== null
? renderAvatar(group, { sizeClass: 's16 rect-avatar' }) ? renderAvatar(group, { sizeClass: 's16 rect-avatar flex-shrink-0' })
: renderIdenticon(group, { : renderIdenticon(group, {
sizeClass: 's16 rect-avatar d-flex justify-content-center flex-column', sizeClass: 's16 rect-avatar d-flex justify-content-center flex-column flex-shrink-0',
}); });
}, },
}, },
......
---
title: 'Groups dropdown: Fix group styles in dropdown'
merge_request: 15839
author:
type: other
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