Coder Social home page Coder Social logo

Comments (4)

johnsBeharry avatar johnsBeharry commented on August 21, 2024

@micey969 a potential quick fix you can try is to try out to regain some more vertical space, is to reduce the spacing between the logo and the heading from 3em to 1em. I haven't tested this for the size you specified though.

That being said, I don't believe you can account for more extreme cases using this method (see below) without implementing a solution that scrolls the sidebar's contents. This would be the best solution to apply in my opinion.

screen shot 2018-04-16 at 5 23 34 pm

UPDATED WITH DEMO:
screen recording 2018-04-16 at 05 32 pm

In other desktop operating systems, or non Apple browsers the scrollbar may not disappear the same.

from peakshift-website.

micey969 avatar micey969 commented on August 21, 2024

I have actually done that exact method you suggested inside of the inspector before @johnsBeharry and it helps for my specific screen. But as you said, it doesn't account for the extreme cases (anything below 650px).

from peakshift-website.

johnsBeharry avatar johnsBeharry commented on August 21, 2024

@micey969 to get the scroll bar on the sidebar set it to scroll.

#mainSide {
    overflow-y: scroll

Then the absolutely positioned contact footer would need to be relative.

.contact-footer {
    position: relative;

Since the site is currently desktop first, a media query would need to be used to "undo" styles for the larger desktop height.

from peakshift-website.

micey969 avatar micey969 commented on August 21, 2024

Okay then. Thanks @johnsBeharry . I'm currently working on making the site mobile first, so I'll add it in while I'm doing that.

from peakshift-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.