style(webui): key display in non-banners also
parent
c3ac5adaf0
commit
7191a20176
|
@ -189,10 +189,10 @@
|
|||
<UpObjectLabel label={displayLabel} backpath={resolvedBackpath} />
|
||||
{/if}
|
||||
</div>
|
||||
{#if $entity?.get("KEY")}
|
||||
<div class="key">{$entity.get("KEY")}</div>
|
||||
{/if}
|
||||
<div class="secondary">
|
||||
{#if $entity?.get("KEY")}
|
||||
<div class="key">{$entity.get("KEY")}</div>
|
||||
{/if}
|
||||
<div class="type">
|
||||
{$entityInfo?.t}
|
||||
{#if $entityInfo?.t === "Url" || $entityInfo?.t === "Attribute"}
|
||||
|
@ -316,9 +316,19 @@
|
|||
|
||||
&:before {
|
||||
content: "⌘";
|
||||
margin-right: 0.1em;
|
||||
}
|
||||
}
|
||||
|
||||
&.banner .key {
|
||||
font-size: 0.66em;
|
||||
}
|
||||
|
||||
&:not(.banner) .key {
|
||||
flex-grow: 1;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
&.show-type .secondary,
|
||||
&.banner .secondary {
|
||||
display: unset;
|
||||
|
|
Loading…
Reference in New Issue