mirror of https://github.com/status-im/consul.git
ui: Card component nspace refactor (#9228)
* Refactoring conditional for showing nspaces * Styling empty state for Stats component
This commit is contained in:
parent
fd5928fa4e
commit
d913af2bb1
|
@ -7,7 +7,7 @@
|
||||||
{{@item.Name}}
|
{{@item.Name}}
|
||||||
</p>
|
</p>
|
||||||
<div class="details">
|
<div class="details">
|
||||||
{{#if (and (and @nspace (env 'CONSUL_NSPACES_ENABLED')) @type)}}
|
{{#if (and (env 'CONSUL_NSPACES_ENABLED') (not-eq @item.Namespace @service.Namespace))}}
|
||||||
<dl class="nspace">
|
<dl class="nspace">
|
||||||
<dt>
|
<dt>
|
||||||
<Tooltip>
|
<Tooltip>
|
||||||
|
|
|
@ -16,4 +16,7 @@
|
||||||
dd {
|
dd {
|
||||||
color: $gray-400 !important;
|
color: $gray-400 !important;
|
||||||
}
|
}
|
||||||
|
span {
|
||||||
|
padding-bottom: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue