File tree 3 files changed +18
-0
lines changed
libraries/ui-library/src/components/six-tab
3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
13
13
### Fixed
14
14
15
15
- Fixed ` six-checkbox ` checkbox-input being distorted with multiline content/text
16
+ - tab group animation smoothing when using left / right layout
16
17
17
18
## 4.2.1 - 2024-03-14
18
19
Original file line number Diff line number Diff line change 43
43
& :hover:not (.tab--disabled ) {
44
44
color : var (--six-tab-color-hover );
45
45
}
46
+
47
+ & .tab--left ,
48
+ & .tab--right {
49
+ display : inline-block ;
50
+ text-align : left ;
51
+ }
52
+
53
+ & .tab--left ::before ,
54
+ & .tab--right ::before {
55
+ display : block ;
56
+ font-weight : var (--six-font-weight-bold );
57
+ content : attr (title );
58
+ height : 0 ;
59
+ overflow : hidden ;
60
+ visibility : hidden ;
61
+ }
46
62
}
47
63
48
64
.tab__close-button {
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ export class SixTab {
88
88
aria-disabled = { this . disabled ? 'true' : 'false' }
89
89
aria-selected = { this . active ? 'true' : 'false' }
90
90
tabindex = { this . disabled || ! this . active ? '-1' : '0' }
91
+ title = { this . host . innerHTML }
91
92
>
92
93
< slot />
93
94
{ this . closable && (
You can’t perform that action at this time.
0 commit comments