mirror of
https://github.com/status-im/consul.git
synced 2025-02-12 05:36:55 +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
|
||||
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…
x
Reference in New Issue
Block a user