mirror of
https://github.com/status-im/consul.git
synced 2025-01-23 03:59:18 +00:00
ui: Add triple curlies and reformat style attribute (#9210)
This commit is contained in:
parent
6a42641eb2
commit
63e96d70ff
@ -1,5 +1,12 @@
|
|||||||
<nav
|
<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"
|
role="tablist"
|
||||||
class={{concat 'tab-nav' (if isAnimatable ' animatable' '')}}
|
class={{concat 'tab-nav' (if isAnimatable ' animatable' '')}}
|
||||||
id={{guid}}>
|
id={{guid}}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user