feat: cosmwasm UI refactor

This commit is contained in:
Alisa | Side.one 2023-05-08 21:44:49 +08:00
parent fd221916cf
commit 78678bf064

View File

@ -14,13 +14,13 @@ wasmStore.wasmClient.getWasmCodeList().then((x) => {
}); });
</script> </script>
<template> <template>
<div> <div class="bg-base-100 px-4 pt-3 pb-4 rounded mb-4 shadow">
<VCard> <h2 class="card-title truncate w-full">Cosmos Wasm Smart Contracts</h2>
<VCardTitle>Cosmos Wasm Smart Contracts</VCardTitle> <div class="overflow-x-auto">
<VTable> <table class="table w-full mt-4 text-sm">
<thead> <thead>
<tr> <tr>
<th>Code Id</th> <th style="position: relative;">Code Id</th>
<th>Code Hash</th> <th>Code Hash</th>
<th>Creator</th> <th>Creator</th>
<th>Permissions</th> <th>Permissions</th>
@ -47,8 +47,8 @@ wasmStore.wasmClient.getWasmCodeList().then((x) => {
</td> </td>
</tr> </tr>
</tbody> </tbody>
</VTable> </table>
</VCard> </div>
</div> </div>
</template> </template>