Skip to content

Commit

Permalink
more compact header
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronClaydon committed Feb 22, 2024
1 parent 093c208 commit 7cb325a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default {
class="mt-2 sm:mt-3 lg:mt-4 mx-2 sm:mx-6 lg:mx-8 bg-white rounded-lg border border-gray-200 shadow-md sticky top-0 z-50 dark:bg-gray-800 dark:border-gray-600"
>
<div class="max-w-7xl mx-auto px-2 sm:px-6 lg:px-8">
<div class="relative flex items-center justify-between h-16">
<div class="relative flex items-center justify-between h-12 lg:h-16">
<div class="absolute inset-y-0 left-0 flex items-center sm:hidden">
<!-- Mobile menu button-->
<button @click="$router.go(-1)" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 focus:outline-none transition duration-150 ease-in-out" aria-label="Main menu" aria-expanded="false">
Expand Down
7 changes: 5 additions & 2 deletions src/components/NavTabBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
>
<a
@click="changeTab(tab.id)"
class="cursor-pointer inline-block py-4 px-4 text-sm font-medium text-center rounded-t-lg border-b-2 border-transparent text-gray-500 hover:text-gray-600 hover:border-gray-300"
v-bind:class="{'text-blue-600 border-blue-600 hover:text-blue-600 hover:border-blue-600 active': this.currentTab == tab.id}"
class="cursor-pointer inline-block py-4 px-4 text-sm font-medium text-center rounded-t-lg border-b-2"
v-bind:class="{
'text-blue-600 border-blue-600 hover:text-blue-600 hover:border-blue-600 active': this.currentTab == tab.id,
'text-gray-500 hover:text-gray-600 hover:border-gray-300 border-transparent': this.currentTab != tab.id
}"
>
{{ tab.name }}
</a>
Expand Down
4 changes: 4 additions & 0 deletions src/views/Journeys/View.vue
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,10 @@ export default {
id: "timeline",
name: "Timeline",
},
{
id: "details",
name: "Details",
},
{
id: "map",
name: "Map",
Expand Down

0 comments on commit 7cb325a

Please sign in to comment.