Możliwość wyjścia z karty po kliknięciu na zewnątrz niej

This commit is contained in:
2021-07-13 23:17:22 +02:00
parent 9ad3cc45fb
commit 528dce57f7
5 changed files with 111 additions and 99 deletions
+8 -4
View File
@@ -1,6 +1,8 @@
<template>
<button class="action-btn">
<slot></slot>
<div class="button_content">
<slot></slot>
</div>
</button>
</template>
@@ -15,9 +17,6 @@ export default defineComponent({});
@import "../../styles/responsive";
.action-btn {
display: flex;
align-items: center;
background: #333;
border: none;
@@ -58,4 +57,9 @@ export default defineComponent({});
background: #5c5c5c;
}
}
.button_content {
display: flex;
align-items: center;
}
</style>