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

the margin part of the b-table record is displayed in white on the smartphone #2824

Closed
ntogawa07 opened this issue Aug 28, 2020 · 6 comments · Fixed by #2827
Closed

the margin part of the b-table record is displayed in white on the smartphone #2824

ntogawa07 opened this issue Aug 28, 2020 · 6 comments · Fixed by #2827

Comments

@ntogawa07
Copy link

Overview of the problem

Buefy version: [0.9.2]
Vuejs version: [2.6.11]
OS/Browser:chrome, safari,

Description

When setting the background color in the style of background-color in the html tag,
the margin part of the b-table record is displayed in white on the smartphone.

Steps to reproduce

  1. Write style to html
html {
  background-color: #aaaaaa;
}
  1. Write b-table to child node
    I use code from here.
    https://buefy.org/documentation/table
  2. Launch the development server and check on your smartphone.

Expected behavior

The margin of the b-table record is displayed with the background color set in the html tag.

Actual behavior

The margin of the b-table record is overwritten with white.

sp_b-table

@holtolee
Copy link
Contributor

i think i fixed that in a project, i will look and if i can make a PR

@ntogawa07
Copy link
Author

Thank you for your quick response!!!

@holtolee
Copy link
Contributor

you're welcome but idk if the PR will be accepted i'm a new contributor. but you can overide your code with same css normally.

@ntogawa07
Copy link
Author

thank you for the advice! I hope your PR is approved

@jtommy
Copy link
Member

jtommy commented Sep 2, 2020

@ntogawa07 did you try setting the background color with bulma variable ? https://bulma.io/documentation/customize/variables/#generic-variables

@ntogawa07
Copy link
Author

@jtommy
I tried it like

$body-background-color: #aaaaaa;

but the result did not change

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

Successfully merging a pull request may close this issue.

3 participants