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

Completely borderless table #3

Closed
timster opened this issue Dec 18, 2018 · 6 comments
Closed

Completely borderless table #3

timster opened this issue Dec 18, 2018 · 6 comments
Labels
enhancement New feature or request

Comments

@timster
Copy link

timster commented Dec 18, 2018

First of all thanks for this project. It's been very helpful.

Since bulma applies the table borders to the individual cells, getting a completely borderless table is kind of tedius:

<table class="table">
    <tr>
        <th class="is-borderless">Header 1</th>
        <th class="is-borderless">Header 2</th>
    </tr>
    <tr>
        <td class="is-borderless">Cell 1</td>
        <td class="is-borderless">Cell 2</td>
    </tr>
</table>

It would be nice to be able to apply it to just the table and have it cascade down:

<table class="table is-borderless">
    <tr>
        <th>Header 1</th>
        <th>Header 2</th>
    </tr>
    <tr>
        <td>Cell 1</td>
        <td>Cell 2</td>
    </tr>
</table>

Basically, this:

.table.is-borderless
  td, 
  th
    border: 0

Is this a helper you would consider adding?

@jmaczan
Copy link
Owner

jmaczan commented Dec 18, 2018

Hello Tim,

Sound like a plan 🙂 I'm gonna implement it in a days.

@jmaczan jmaczan added the enhancement New feature or request label Dec 18, 2018
@jmaczan
Copy link
Owner

jmaczan commented Dec 20, 2018

Done in version 0.3.2.

@jmaczan jmaczan closed this as completed Dec 20, 2018
@coderabsolute
Copy link

I don't see this functionality in the documentation. Not sure is-borderless is still implemented in the current version (0.9.2)?

@cabrace
Copy link

cabrace commented Aug 1, 2021

// can be achieved with
.table.is-borderless td, .table.is-borderless th {
 border: 0;
}
<!-- Applied to  table element class -->
<table class="table is-borderless">
...
</table>

using: /*! bulma.io v0.9.3 | MIT License | github.com/jgthms/bulma */
Still don't see it available?

@campZero
Copy link

campZero commented Jul 30, 2022

Never mind, came here via web search, didn't look to closely and assumed this was bulma, not bulma-helpers.
My bad.

@MartinX3
Copy link

MartinX3 commented Dec 8, 2022

Yeah, but it isn't working without the css hack even with the helper.
But with the css hack we don't need the helper as well.

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

No branches or pull requests

6 participants