Skip to content

Commit

Permalink
style(table): align expand buttons right
Browse files Browse the repository at this point in the history
  • Loading branch information
brucetony committed Jul 4, 2024
1 parent 1622460 commit 47a27a0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions components/analysis/AnalysesTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const collapseAll = () => {
>
<template #empty> No analyses found. </template>
<template #header>
<div class="flex flex-wrap justify-end gap-2">
<div class="flex flex-wrap justify-end gap-2 expandButtons">
<Button
text
icon="pi pi-plus"
Expand Down Expand Up @@ -113,4 +113,11 @@ const collapseAll = () => {
</div>
</template>

<style scoped lang="scss"></style>
<style scoped lang="scss">
.expandButtons {
display: flex;
justify-content: flex-end;
margin-left: auto;
margin-right: 0;
}
</style>
11 changes: 9 additions & 2 deletions components/data-stores/DataStoreTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const confirmDelete = (event, dsName: string) => {
>
<template #empty> No data stores found. </template>
<template #header>
<div class="flex flex-wrap justify-end gap-2">
<div class="flex flex-wrap justify-end gap-2 expandButtons">
<Button
text
icon="pi pi-plus"
Expand Down Expand Up @@ -158,4 +158,11 @@ const confirmDelete = (event, dsName: string) => {
</div>
</template>

<style scoped lang="scss"></style>
<style scoped lang="scss">
.expandButtons {
display: flex;
justify-content: flex-end;
margin-left: auto;
margin-right: 0;
}
</style>

0 comments on commit 47a27a0

Please sign in to comment.