Merge pull request #443 from Budibase/edit/delete-record-dropdown-ui-update

edit/delete record dropdown update
This commit is contained in:
Martin McKeaveney 2020-07-14 16:09:47 +01:00 committed by GitHub
commit 62ce86afac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 35 additions and 8 deletions

View File

@ -113,15 +113,15 @@
on:click={() => { on:click={() => {
editRecord(row) editRecord(row)
}}> }}>
<div>Edit</div> <i class="ri-edit-line" />
<div class="label">Edit</div>
</li> </li>
<li> <li
<div
on:click={() => { on:click={() => {
deleteRecord(row) deleteRecord(row)
}}> }}>
Delete <i class="ri-delete-bin-2-line" />
</div> <div class="label">Delete</div>
</li> </li>
</ul> </ul>
</div> </div>
@ -146,6 +146,9 @@
</section> </section>
<style> <style>
section {
margin-bottom: 20px;
}
.title { .title {
font-size: 24px; font-size: 24px;
font-weight: 600; font-weight: 600;
@ -204,4 +207,28 @@
display: flex; display: flex;
align-items: center; align-items: center;
} }
li {
display: flex;
align-items: center;
border-radius: 5px;
}
i {
color: var(--grey-7);
margin-right: 8px;
font-size: 20px;
}
.label {
color: var(--grey-7);
font-size: 14px;
font-family: inter;
font-weight: 400;
margin: 12px 0px;
}
.label:hover {
color: var(--ink);
cursor: pointer;
}
</style> </style>