ui: Add triple curlies and reformat style attribute (#9210)
This commit is contained in:
parent
d9af48afce
commit
916d525ce8
|
@ -1,5 +1,12 @@
|
|||
<nav
|
||||
style={{if selectedWidth (concat '--selected-width:' selectedWidth ';--selected-left:' selectedLeft ';--selected-height:' selectedHeight ';--selected-top:' selectedTop) undefined}}
|
||||
style={{{if selectedWidth (concat
|
||||
'--selected-width:' selectedWidth ';'
|
||||
'--selected-left:' selectedLeft ';'
|
||||
'--selected-height:' selectedHeight ';'
|
||||
'--selected-top:' selectedTop
|
||||
)
|
||||
undefined
|
||||
}}}
|
||||
role="tablist"
|
||||
class={{concat 'tab-nav' (if isAnimatable ' animatable' '')}}
|
||||
id={{guid}}>
|
||||
|
|
Loading…
Reference in New Issue