ui: Make the topology cards into links (#8911)
This commit is contained in:
parent
30fc50397a
commit
f981818e41
|
@ -1,6 +1,6 @@
|
|||
{{#each @items as |item|}}
|
||||
<div
|
||||
class="card"
|
||||
<a class="card"
|
||||
href={{href-to "dc.services.show.index" item.Name}}
|
||||
data-permission={{service/intention-permissions item}}
|
||||
id="{{item.Namespace}}{{item.Name}}"
|
||||
>
|
||||
|
@ -52,5 +52,5 @@
|
|||
<TopologyMetrics::Stats @endpoint='downstream-summary-for-service' @service={{@service}} @item={{item.Name}} />
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</a>
|
||||
{{/each}}
|
|
@ -53,8 +53,9 @@
|
|||
}
|
||||
#upstream-container .card,
|
||||
#downstream-container .card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
display: block;
|
||||
color: $gray-700;
|
||||
overflow: hidden;
|
||||
p {
|
||||
padding: 12px 12px 0 12px;
|
||||
font-size: 16px;
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
justify-content: space-between;
|
||||
align-items: stretch;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
height: 46px;
|
||||
overflow: hidden;
|
||||
dl {
|
||||
display:flex;
|
||||
margin-bottom: 50px; // pushes wrapped metrics well out of the bounding box to hide them.
|
||||
|
|
Loading…
Reference in New Issue