Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3aba62e

Browse filesBrowse files
aastha-csecodecalm
andauthored
fix: add border-top-radius to card table first/last cells (#2505)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
1 parent 059bae1 commit 3aba62e
Copy full SHA for 3aba62e

File tree

Expand file treeCollapse file tree

2 files changed

+15
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+15
-0
lines changed
Open diff view settings
Collapse file

‎.changeset/many-dogs-rest.md‎

Copy file name to clipboard
+6Lines changed: 6 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@tabler/core": patch
3+
---
4+
5+
Added `border-top-left-radius` and `border-top-right-radius` to first and last child elements in `.card-table` for proper corner rounding.
6+
Collapse file

‎core/scss/ui/_cards.scss‎

Copy file name to clipboardExpand all lines: core/scss/ui/_cards.scss
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,15 @@ Card table
411411
td,
412412
th {
413413
&:first-child {
414+
padding-left: $card-spacer-x;
415+
border-left: 0;
416+
border-top-left-radius: var(--#{$prefix}card-border-radius);
417+
}
418+
419+
&:last-child {
420+
padding-right: $card-spacer-x;
421+
border-right: 0;
422+
border-top-right-radius: var(--#{$prefix}card-border-radius);
414423
padding-inline-start: $card-spacer-x;
415424
border-inline-start: 0;
416425
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.