Skip to content

Commit

Permalink
fix buttons size
Browse files Browse the repository at this point in the history
  • Loading branch information
Disservin committed Apr 22, 2023
1 parent 83d4d4d commit f71e41f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
7 changes: 4 additions & 3 deletions src/components/AppBtn.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div class="btn-wrap">
<v-btn class="btn" color="primary" v-bind="$attrs">
<font-awesome-icon icon="fa-solid fa-clipboard" />
<span>{{ text }}</span>
Expand Down Expand Up @@ -27,11 +27,12 @@ export default defineComponent({
border-radius: 5px;
padding: 0.5rem;
margin: 0.5rem;
width: 100%;
flex: auto;
}
.btn-wrap {
display: flex;
justify-content: center;
flex-direction: row;
justify-content: space-between;
background-color: var(--bg-tertiary);
margin: 5px;
}
Expand Down
15 changes: 1 addition & 14 deletions src/components/AppCopyBtn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,4 @@ export default defineComponent({
});
</script>

<style scoped>
.btn {
border-radius: 5px;
padding: 0.5rem;
margin: 0.5rem;
width: 100%;
}
.btn-wrap {
display: flex;
justify-content: center;
background-color: var(--bg-tertiary);
margin: 5px;
}
</style>
<style></style>

0 comments on commit f71e41f

Please sign in to comment.