fix(connections): update the look of close button

This commit is contained in:
kunish 2023-08-31 15:54:38 +08:00
parent 2829c64a23
commit eee81e6258
No known key found for this signature in database
GPG Key ID: 647A12B4F782C430

View File

@ -84,7 +84,7 @@ export default () => {
header: () => ( header: () => (
<div class="flex h-full items-center"> <div class="flex h-full items-center">
<button <button
class="btn btn-ghost btn-xs" class="btn btn-circle btn-xs"
onClick={() => request.delete('connections')} onClick={() => request.delete('connections')}
> >
<IconCircleX size="18" /> <IconCircleX size="18" />
@ -94,7 +94,7 @@ export default () => {
cell: ({ row }) => ( cell: ({ row }) => (
<div class="flex h-full items-center"> <div class="flex h-full items-center">
<button <button
class="btn btn-ghost btn-xs" class="btn btn-circle btn-xs"
onClick={() => onCloseConnection(row.id)} onClick={() => onCloseConnection(row.id)}
> >
<IconCircleX size="18" /> <IconCircleX size="18" />