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

Overflow on media causes scroll bar #1428

Closed
darrenmothersele opened this issue Nov 8, 2017 · 11 comments
Closed

Overflow on media causes scroll bar #1428

darrenmothersele opened this issue Nov 8, 2017 · 11 comments

Comments

@darrenmothersele
Copy link

This is about Bulma (master branch)

Overview of the problem

  • I'm using Bulma master branch
  • Chromium on Linux
  • Sass

Description

Scrollbar appears on media item

Steps to Reproduce

            <div class="card">
                <div class="card-content">
                    <div class="media">
                        <div class="media-left">
                            <figure class="image is-48x48">
                                <img src="https://bulma.io/images/placeholders/96x96.png" alt="Placeholder image">
                            </figure>
                        </div>
                        <div class="media-content">
                            <p class="title is-4">{{ user.name }}</p>
                            <p class="subtitle is-6">@{{ user.username }}</p>
                        </div>
                    </div>
                </div>
            </div>

Expected behavior

No scrollbar to be visible

Actual behavior

f17975d

bulma-master-media
bulma-0 6 0-media

@oleksiipotiekhin-zz
Copy link

oleksiipotiekhin-zz commented Nov 9, 2017

This is because of the overflow: auto; property from the .media-content class. I've checked it on Windows in Chrome browser.
default media-content

@glococo
Copy link

glococo commented Mar 15, 2018

Same happend to me. Please, remove overflow or replace auto -> hidden

@turbopixel
Copy link

Same here

@ErikSchierboom
Copy link

I have the same issue.

@neetso
Copy link

neetso commented Oct 21, 2018

I have the same issue with media-content. I want to add a list or group of buttons inside a media-content div.
screen shot 2018-10-21 at 11 20 30

@ekrister
Copy link

ekrister commented Jan 8, 2021

This is still a problem with Bulma 0.9.1. You can also see it on the official documentation page of the card component.

@svdHero
Copy link

svdHero commented May 21, 2021

Same problem here. Please re-open.

@kerams
Copy link

kerams commented Jun 2, 2021

This appears to be the issue.

+mobile
.media-content
overflow-x: auto

You can override it in sass after importing Bulma.

@SnowpawStudios
Copy link

This is still an issue in 2022 using bulma v0.9.4 in Chrome, Edge, and Firefox (tested using the sample code for making cards on the Bulma website).

Note that the scrollbars only appear when you increase the zoom and narrow the width of the window. For example in Chrome, the scrollbars appear at a zoom of 150% and window width of about 650px.

@gschurck
Copy link

gschurck commented Sep 5, 2023

I still have the issue, but only on Chromium browsers, not on Firefox.

@gschurck
Copy link

gschurck commented Sep 5, 2023

Here is the v0.9.4 bulma.min.css without the scrollbar issue for cards on mobile if someone needs it :
https://gist.github.com/gschurck/e804ba78225f158d4008e61f458c1dc7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests