Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Border radius missing on non-horizontal table cells #154

Closed
adam-iris opened this issue Jan 19, 2019 · 0 comments
Closed

Border radius missing on non-horizontal table cells #154

adam-iris opened this issue Jan 19, 2019 · 0 comments

Comments

@adam-iris
Copy link

  • Framework Version: 3.0.1
  • Flavor used: default
  • Operating System/Browser:
  • Code to reproduce:
  • Screenshots:
  • Bug description:
  • Additional information (Optional):

Horizontal tables have special handling to apply border-radius on the corner cells, but the regular table doesn't. A modified version of the horizontal table code fixes the issue for me:

table {
    thead tr:first-child th {
        &:first-child{
            border-top-left-radius: var(--universal-border-radius);
        }
        &:last-child{
            border-top-right-radius: var(--universal-border-radius);
        }
    }
    tbody tr:last-child td {
        &:first-child{
            border-bottom-left-radius: var(--universal-border-radius);
        }
        &:last-child{
            border-bottom-right-radius: var(--universal-border-radius);
        }
    }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants