Skip to content
Open
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
3 changes: 1 addition & 2 deletions app/components/layout/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { Link, Form, NavLink } from '@remix-run/react';

const Header = () => {
const location = useLocation();
const path = location.pathname;
const userContext = useUser();
const [showDropdown, setShowDropdown] = useState(false);
const dropdownRef = useRef(null);
Expand All @@ -30,7 +29,7 @@ const Header = () => {
<header className='header'>
<div className='header-container'>
<div className='logo'>
<Link to='/'>
<Link to='/map'>
<img
src='/assets/images/switch-logo.png'
alt='Switch Logo'
Expand Down
9 changes: 7 additions & 2 deletions app/components/layout/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
font-family: 'Inter', sans-serif;
color: #000;
padding-top: 70px;
padding-bottom: 50px;
}

/* Wrapper Components */
Expand Down Expand Up @@ -61,15 +62,15 @@
flex-flow: column;
padding: var(--spacing-xlarge);
background-color: var(--color-background);
overflow: hidden;
/* overflow: hidden; */
position: relative;
gap: var(--spacing-large);
}

.content.content-full-width {
flex: 1;
padding: 0;
min-height: 100vh;
/* min-height: 100vh; */
overflow: scroll;
max-width: 100%;
overflow-y: scroll;
Expand Down Expand Up @@ -271,6 +272,10 @@ a > .section:hover {
border-top: 1px solid var(--color-border);
text-align: center;
font-size: var(--font-size-small);
height: 50px;
position: fixed;
bottom: 0;
width: 100%;
}

/* Map Container */
Expand Down
Loading