This commit is contained in:
syuilo 2022-12-26 13:40:20 +09:00
parent 0ed42e0ea9
commit e0d207a173

View file

@ -2,7 +2,7 @@
<div class="wbrkwale"> <div class="wbrkwale">
<MkLoading v-if="fetching"/> <MkLoading v-if="fetching"/>
<div v-else class="instances"> <div v-else class="instances">
<MkA v-for="(instance, i) in instances" :key="instance.id" :to="`/instance-info/${instance.host}`" class="instance"> <MkA v-for="(instance, i) in instances" :key="instance.id" v-tooltip.mfm.noDelay="`${instance.name}\n${instance.host}\n${instance.softwareName} ${instance.softwareVersion}`" :to="`/instance-info/${instance.host}`" class="instance">
<MkInstanceCardMini :instance="instance"/> <MkInstanceCardMini :instance="instance"/>
</MkA> </MkA>
</div> </div>
@ -37,7 +37,7 @@ useInterval(fetch, 1000 * 60, {
.wbrkwale { .wbrkwale {
> .instances { > .instances {
display: grid; display: grid;
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
grid-gap: 12px; grid-gap: 12px;
> .instance:hover { > .instance:hover {