Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links within dropdown component on mobile have different padding than normal dropdown items #2489

Closed
florushj opened this issue May 8, 2020 · 1 comment

Comments

@florushj
Copy link

florushj commented May 8, 2020

Overview of the problem

Buefy version: [0.8.17]

Description

Using the dropdown component with dropdown items with the has-link prop and viewing them on smaller screens (mobile) makes these links have a smaller padding around the link than normal dropdown items.

Steps to reproduce

<b-dropdown>
    <a slot="trigger" role="button" class="button is-primary">Click me</a>
    <b-dropdown-item has-link>
        <a href="https://google.com">Google (link)</a>
    </b-dropdown-item>
    <b-dropdown-item>Home</b-dropdown-item>
</b-dropdown>

See: https://codepen.io/florushj/pen/gOaevzm

Expected behavior

Both items have same padding on mobile.

Actual behavior

Dropdown items have bigger padding than 'has-link' items.

@jtommy
Copy link
Member

jtommy commented May 8, 2020

Yes, you are right

@jtommy jtommy closed this as completed in 4419cbf May 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants