Skip to content

Commit

Permalink
fixes bug of hidden menu with mobile LuxLibraryHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
sdellis committed Nov 12, 2024
1 parent ec891a2 commit bca3aa3
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions src/components/LuxLibraryHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<lux-wrapper class="lux-header-content" :maxWidth="maxWidth">
<!-- @slot A custom logo to display in the Header. If no logo is provided, it defaults to the Princeton University Library logo. -->
<slot name="logo">
<lux-library-logo width="245" height="54" :theme="value(theme)"></lux-library-logo>
<lux-library-logo width="205px" height="40px" :theme="value(theme)"></lux-library-logo>
</slot>
<a
v-if="appName"
Expand Down Expand Up @@ -160,11 +160,23 @@ export default {
.lux-header-content {
align-items: center;
display: flex;
padding: 0 1rem;
padding: 0;
@media (min-width: 900px) {
flex-direction: row;
max-width: 1440px;
padding: 0 1rem;
}
}
.lux-library-logo {
margin: 0.5rem;
width: 205px;
height: 40px;
@media (min-width: 900px) {
margin: 1rem 0rem 1rem 0rem;
width: 245px;
height: 54px;
}
}
Expand All @@ -180,6 +192,7 @@ export default {
padding-left: 1rem;
text-align: center;
text-decoration: none;
margin: 0px;
.full-name {
display: none;
Expand All @@ -188,7 +201,6 @@ export default {
@media (min-width: 900px) {
border-left: 1px solid var(--color-grayscale-light);
height: 35px;
margin: 0 0 0 1rem;
padding: 0 0 0 1rem;
text-align: left;
Expand Down

0 comments on commit bca3aa3

Please sign in to comment.