Closed simeonoff closed 2 months ago
@simeonoff This change seems to affect well the start slot but not the spacing between the buttons in the end slot:
@simeonoff This change seems to affect well the start slot but not the spacing between the buttons in the end slot:
Not what I saw when I implemented the changes. I will check again and come back to you, meanwhile, can you give me the html you used to create the layout?
Sure, I actually used the sample for Angular and set the theme to 'Bootstrap Light', and the navbar story for WC (just removed the input).
<igc-navbar style="height:30px">
<igc-icon slot="start" name="home"></igc-icon>
<h2>${content}</h2>
<igc-icon name="search" slot="end"></igc-icon>
<igc-icon slot="end" name="favorite"></igc-icon>
<igc-dropdown slot="end">
<igc-avatar
slot="target"
size="small"
shape="circle"
src="https://i.pravatar.cc/200"
>MP</igc-avatar
>
<igc-dropdown-item>Settings</igc-dropdown-item>
<igc-dropdown-item>Help</igc-dropdown-item>
<igc-dropdown-item>Log Out</igc-dropdown-item>
</igc-dropdown>
</igc-navbar>
@simeonoff This change seems to affect well the start slot but not the spacing between the buttons in the end slot:
@gedinakova I believe you are comparing apples to oranges here. The Angular sample uses Icon Buttons, that internally pads the icons within them. In the Web Components sample you are using simple icons, instead of icon buttons. I've updated the navbar story to use icon buttons instead of icons.
Closes #1291