[ui] larger type icons
parent
0fbb5ac9c4
commit
2f68323ecb
|
@ -77,7 +77,9 @@
|
||||||
{#if type}
|
{#if type}
|
||||||
<UpLink to={{ entity: type.address }}>
|
<UpLink to={{ entity: type.address }}>
|
||||||
{#if type.icon}
|
{#if type.icon}
|
||||||
<sl-icon name={type.icon} />
|
<div class="icon">
|
||||||
|
<sl-icon name={type.icon} />
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{type.name || "???"}
|
{type.name || "???"}
|
||||||
</UpLink>
|
</UpLink>
|
||||||
|
@ -139,6 +141,12 @@
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
padding: 0 0.75ex;
|
padding: 0 0.75ex;
|
||||||
|
|
||||||
|
.icon {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 1.5em;
|
||||||
|
margin-top: -0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
sl-icon {
|
sl-icon {
|
||||||
margin-bottom: -2px;
|
margin-bottom: -2px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue