-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4629 from FlowFuse/fix-admin-actions-alignment
Fix admin action tabs alignment
- Loading branch information
Showing
3 changed files
with
38 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,35 @@ | ||
<template> | ||
<SectionTopMenu hero="Users" :options="sideNavigation" /> | ||
<div class="flex-grow"> | ||
<router-view /> | ||
<div class="clear-page-gutters"> | ||
<div class="ff-instance-header"> | ||
<ff-page-header title="Users" :tabs="sideNavigation" /> | ||
</div> | ||
<div class="px-3 py-3 md:px-6 md:py-6"> | ||
<div class="flex-grow"> | ||
<router-view /> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import SectionTopMenu from '../../../components/SectionTopMenu.vue' | ||
const sideNavigation = [ | ||
{ name: 'Users', path: './general' }, | ||
{ name: 'Invitations', path: './invitations' } | ||
{ label: 'Users', to: './general' }, | ||
{ label: 'Invitations', to: './invitations' } | ||
] | ||
export default { | ||
name: 'AdminUsers', | ||
components: { | ||
SectionTopMenu | ||
}, | ||
setup () { | ||
return { | ||
sideNavigation | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.clear-page-gutters { | ||
margin: -1.75rem | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters