Skip to content

Commit

Permalink
fixing styling for header in xl screens
Browse files Browse the repository at this point in the history
  • Loading branch information
prakhyatox committed Mar 3, 2025
1 parent 54cd73a commit edd5bf0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/components/Navigation/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
id="mainHeader"
height="150px"
class="header-container"
:class="[{'largeScreen': $vuetify.display.xlOnly}, {'smallScreen': $vuetify.display.mdAndDown}]"
:class="[{'largeScreen': $vuetify.display.xl}, {'smallScreen': $vuetify.display.mdAndDown}]"
>
<v-app-bar-nav-icon
v-if="$vuetify.display.mdAndDown"
Expand Down Expand Up @@ -44,7 +44,7 @@
>
<template #activator="{ props }">
<v-btn
:size="$vuetify.display.xlOnly ? 'x-large' : $vuetify.display.mdAndDown ? 'small' : undefined"
:size="$vuetify.display.xl ? 'x-large' : $vuetify.display.mdAndDown ? 'small' : undefined"
class="mr-1 mt-sm-1 bg-accent3"
v-bind="props"
elevation="3"
Expand All @@ -67,13 +67,12 @@
</v-menu>
<v-btn
v-else
:size="$vuetify.display.xlOnly ? 'x-large' : $vuetify.display.mdAndDown ? 'small' : undefined"
:size="$vuetify.display.xl ? 'x-large' : $vuetify.display.mdAndDown ? 'small' : undefined"
class="mr-1 mt-sm-1 bg-green"
to="/accounts/profile"
>
<v-avatar>
<v-icon
dark
color="white"
>
fa-user-circle
Expand All @@ -100,7 +99,7 @@
:key="'navBarTopMenuItem_' + itemIndex"
>
<v-btn
:size="$vuetify.display.xlOnly ? 'x-large' : $vuetify.display.mdAndDown ? 'small' : undefined"
:size="$vuetify.display.xl ? 'x-large' : $vuetify.display.mdAndDown ? 'small' : undefined"
class="mr-1 mt-sm-1 menuLinks"
:class="{'px-2': $vuetify.display.lgAndDown}"
:color="item.color"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Records/Search/Input/StringSearch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export default {
<style lang="scss" scoped>
.v-input {
box-shadow: 0 0 0 0;
height: 35px;
height: 35px !important;
margin-bottom: 7px;
}
.v-input-lg-up {
Expand Down

0 comments on commit edd5bf0

Please sign in to comment.