mirror of https://github.com/status-im/consul.git
ui: Add triple curlies and reformat style attribute (#9210)
This commit is contained in:
parent
839429eb40
commit
7edee36621
|
@ -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