mirror of
https://github.com/tabler/tabler.git
synced 2026-07-12 16:44:21 +04:00
Fix card tab corners and update status strip size (#2683)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Fixed card corner radius in tab layouts when tabs sit above or below tab content.
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Updated `$card-status-size` default from `$border-width-wide` to `3px`.
|
||||
@@ -1257,7 +1257,7 @@ $card-bg-hover: $white !default;
|
||||
$card-img-overlay-padding: $spacer !default;
|
||||
$card-group-margin: 1.5rem !default;
|
||||
|
||||
$card-status-size: $border-width-wide !default;
|
||||
$card-status-size: 3px !default;
|
||||
|
||||
$card-stamp-opacity: 0.2 !default;
|
||||
|
||||
|
||||
@@ -34,12 +34,12 @@
|
||||
@if $enable-rounded {
|
||||
border-radius: valid-radius($radius);
|
||||
|
||||
@if $radius != 0 {
|
||||
@supports (corner-shape: squircle) {
|
||||
corner-shape: squircle;
|
||||
border-radius: squircle-radius($radius) !important;
|
||||
}
|
||||
}
|
||||
// @if $radius != 0 {
|
||||
// @supports (corner-shape: squircle) {
|
||||
// corner-shape: squircle;
|
||||
// border-radius: squircle-radius($radius) !important;
|
||||
// }
|
||||
// }
|
||||
} @else if $fallback-border-radius != false {
|
||||
border-radius: $fallback-border-radius;
|
||||
}
|
||||
|
||||
@@ -652,7 +652,12 @@ Card list group
|
||||
|
||||
.nav-tabs + .tab-content .card {
|
||||
border-end-start-radius: var(--#{$prefix}card-border-radius);
|
||||
border-start-start-radius: 0;
|
||||
border-start-start-radius: 0 !important;
|
||||
}
|
||||
|
||||
.tab-content:has(+ .nav-tabs) .card {
|
||||
border-start-start-radius: var(--#{$prefix}card-border-radius);
|
||||
border-end-start-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user