Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in css at 767px #3

Open
Yash121l opened this issue May 29, 2024 · 5 comments
Open

Issue in css at 767px #3

Yash121l opened this issue May 29, 2024 · 5 comments

Comments

@Yash121l
Copy link

the style is not properly been applied because at 767 there is error window
Screenshot 2024-05-29 at 2 59 41 PM

@beasthellboyy
Copy link

Provide the site's link and also describe your issue in detail please @Yash121l

@Yash121l
Copy link
Author

Yash121l commented Jun 1, 2024

Actually i was just searching a sidebar for my project and then i find this when i see there live preview by cloning it i find out that there is sum issue with css the the code writer for making it responsive is not writing properly and at exactly at 767 Px it get breaks and the user see navbar like (which i show in the main fork). that is @beasthellboyy

@beasthellboyy
Copy link

Capture

isn't it working fine? @Yash121l

@Yash121l
Copy link
Author

Yash121l commented Jun 1, 2024

Screenshot 2024-06-01 at 11 51 46 AM I dont know but it is looking like this in mine @beasthellboyy

@beasthellboyy
Copy link

change the min-width: 767px to min-width: 768px in styles.css file in the following section of code

@media screen and (min-width: 767px) {
.container {
margin-left: 7rem;
margin-right: 1.5rem;
}
.nav {
position: fixed;
left: 0;
background-color: var(--container-color);
box-shadow: 1px 0 4px hsla(228, 81%, 49%, .15);
width: 84px;
height: 100vh;
padding: 2rem;
transition: .3s;
}
.nav__logo {
display: flex;
}
.nav__logo i {
font-size: 1.25rem;
color: var(--first-color);
}
.nav__logo-name {
color: var(--title-color);
font-weight: 600;
}
.nav__logo, .nav__link {
align-items: center;
column-gap: 1rem;
}
.nav__list {
display: grid;
row-gap: 2.5rem;
margin-top: 10.5rem;
}
.nav__content {
overflow: hidden;
height: 100%;
}
.nav__toggle {
position: absolute;
width: 20px;
height: 20px;
background-color: var(--title-color);
color: #fff;
border-radius: 50%;
font-size: 1.20rem;
display: grid;
place-items: center;
top: 2rem;
right: -10px;
cursor: pointer;
transition: .4s;
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants