Commit 30f2a1d8 authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '333962-fix-right-padding-of-menu-item-with-icon' into 'master'

Reduce right padding for top nav menu items w icon

See merge request gitlab-org/gitlab!64359
parents 837754d9 daee1c9b
......@@ -35,7 +35,7 @@ export default {
<gl-button
category="tertiary"
:href="menuItem.href"
class="top-nav-menu-item gl-display-block"
class="top-nav-menu-item gl-display-block gl-pr-3!"
:class="[menuItem.css_class, { [$options.ACTIVE_CLASS]: menuItem.active }]"
:aria-label="menuItem.title"
v-bind="dataAttrs"
......
......@@ -137,6 +137,7 @@ describe('~/nav/components/top_nav_menu_item.vue', () => {
expect(wrapper.classes()).toStrictEqual([
'top-nav-menu-item',
'gl-display-block',
'gl-pr-3!',
...expectedClasses,
]);
});
......
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