Giter Site home page Giter Site logo

Fluid layout issues about subway HOT 10 CLOSED

thedjpetersen avatar thedjpetersen commented on June 24, 2024
Fluid layout issues

from subway.

Comments (10)

akavlie avatar akavlie commented on June 24, 2024

btw, I have a decent solution for the JS resizing on window resize in web-irc.

from subway.

akavlie avatar akavlie commented on June 24, 2024

I think the chat contents should resize fluidly, but most other elements would be better off with fixed sizing.

from subway.

thedjpetersen avatar thedjpetersen commented on June 24, 2024

The only real problem is with the logo correct?

from subway.

akavlie avatar akavlie commented on June 24, 2024

Yes and no... the sidebar needs a minimum width to show the logo, as well as channel names and unread counts.

from subway.

thedjpetersen avatar thedjpetersen commented on June 24, 2024

At what resolution would the percentage resolution become a problem?

from subway.

akavlie avatar akavlie commented on June 24, 2024

I just tested it out, and it starts cutting off when the window is about 645px wide. Granted, that's narrower than users would typically be sizing their browser windows (other than on mobile).

from subway.

akavlie avatar akavlie commented on June 24, 2024

If you don't have any objections, I think I'll try a version of the layout without percentage sizing, and port my window resizing code from web-irc.

from subway.

thedjpetersen avatar thedjpetersen commented on June 24, 2024

I'll checkout the code and get back to you as soon as possible.

from subway.

akavlie avatar akavlie commented on June 24, 2024

any thoughts?

from subway.

akavlie avatar akavlie commented on June 24, 2024

Changed top bars & input to be fixed height with absolute positioning. I think the fluid sizing can cause issues at very small horizontal sizes as well, but that's a relatively minor issue, and not likely to occur with normal usage.

from subway.

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.