Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ defineExpose({ closeSlot })
const { width } = useWindowSize()

// Use computed to check if it's mobile based on window width
const isMobile = computed(() => width.value <= 750) // Use 750px for mobile breakpoint
const mobileBreakpoint = 850 // change scss breakpoints in ftva _header-sticky.scss, _nav-primary.scss, _site-brand-bar.scss
const isMobile = computed(() => width.value <= mobileBreakpoint) // Use 850px for mobile breakpoint

// toggle Mobile-only menu
function toggleMobileMenu() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
line-height: normal;
}
}
@media #{$small} {
@media (max-width: 850px) {
.primary {
padding-inline: 18px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
}

// MOBILE MENU STYLES
@media #{$small} {
@media (max-width: 850px) {
display: flex;
flex-direction: column;
grid-auto-flow: unset;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.ftva.site-brand-bar {
background-color: var(--ftva-off-black);
height: 110px;
height: 0px;
.ucla-text {
@include ftva-site-wordmark;
color: white;
Expand All @@ -10,4 +10,7 @@
text-transform: uppercase;
}
}
@media (min-width: 850px) {
height: 110px;
}
}