File tree 3 files changed +35
-0
lines changed
3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 419
419
type : String
420
420
} ,
421
421
422
+ labelIcon : {
423
+ default : 'cly-io cly-io-question-mark-circle' ,
424
+ type : String
425
+ } ,
426
+ labelTooltip : {
427
+ default : null ,
428
+ type : String
429
+ } ,
430
+
422
431
options : {
423
432
default : ( ) => [ ] ,
424
433
type : Array
457
466
size : {
458
467
default : null ,
459
468
type : String
469
+ } ,
470
+
471
+ withLabelTooltip : {
472
+ default : false ,
473
+ type : Boolean
460
474
}
461
475
} ,
462
476
498
512
return this . isDropdownInput && Array . isArray ( this . options ) && this . options . length ;
499
513
} ,
500
514
515
+ isLabelTooltipVisible ( ) {
516
+ return this . withLabelTooltip && this . labelTooltip ;
517
+ } ,
518
+
501
519
isSliderInput ( ) {
502
520
return this . type === COUNTLY_CONTENT_SIDEBAR_INPUT_COMPONENT_BY_TYPE_SLIDER ;
503
521
} ,
Original file line number Diff line number Diff line change 17
17
class ="cly-vue-content-builder-sidebar-input__label "
18
18
>
19
19
{{ label }}
20
+ < i
21
+ v-if ="isLabelTooltipVisible "
22
+ v-tooltip.left ="labelTooltip "
23
+ :class ="labelIcon "
24
+ />
20
25
</ label >
21
26
< slot name ="content-builder-layout-step ">
22
27
< component
Original file line number Diff line number Diff line change 4745
4745
4746
4746
// .cly-vue-content-builder-sidebar-input__label
4747
4747
& __label {
4748
+ display : flex ;
4749
+ align-items : baseline ;
4750
+ justify-content : flex-start ;
4751
+
4748
4752
flex-shrink : 0 ;
4749
4753
margin-right : auto ;
4750
4754
font-size : 13px ;
4751
4755
font-weight : 500 ;
4752
4756
line-height : 16px ;
4757
+
4758
+ // .cly-vue-content-builder-sidebar-input__label i
4759
+ i {
4760
+ margin-left : 4px ;
4761
+ font-size : 13px ;
4762
+ font-weight : 500 ;
4763
+ line-height : 16px ;
4764
+ }
4753
4765
}
4754
4766
4755
4767
// .cly-vue-content-builder-sidebar-input__number-input-suffix
You can’t perform that action at this time.
0 commit comments