Giter Site home page Giter Site logo

Major CSS issues about daux.io HOT 7 CLOSED

justinwalsh avatar justinwalsh commented on September 24, 2024
Major CSS issues

from daux.io.

Comments (7)

chaseconey avatar chaseconey commented on September 24, 2024

I am definitely seeing the same kind of behavior. Another thing to add to this list of problems is that collapsible mobile navigation menu doesn't work at all. The 3 lined button is there, but it doesn't allow you to collapse the menu.

I messed around with the styles quite a bit and I failed to get everything to work, but I will keep at it, as I am very interested in this product.

from daux.io.

garrett-moon avatar garrett-moon commented on September 24, 2024

@alexrussell I will be pushing an update that will fix the bug on the third screenshot (Desktop (b0rk). The float view will never support pre tags inside of list elements, but I can at least make the code look more readable.

Regarding the CSS structure in general, the actual goal was to customize the traditional bootstrap DOM very little. If you remove the Daux.io theme, and add bootstrap.css, you should have a clean bootstrap (only) version to work with. While the base theme is a heavy customization, the DOM has very little manipulation. This allows for easy customization, as there are a lot of projects that already build on top of bootstrap. These projects should work perfectly with Daux.io if you disable the native theme. I am working with @justinwalsh on issuing a future update that would allow you to run Daux.io with only bootstrap enabled. I think this would help.

I also agree, the float layout is still a bit wonky, and probably always will be. It is a great looking, but "use at your own risk" type of feature.

I am working on a fix for the github banner and the scrollbar gap. This should be coming in the near future.

Thanks!

from daux.io.

alexrussell avatar alexrussell commented on September 24, 2024

@garrett-moon so is the desktop version supposed to look like that (with the <pre> content outside the main content area? I suppose what I'm getting at is maybe that I don't quite understand the 'float layout' and what it's supposed to look like. I'm not entirely sure why quite so much is floated - presumably the idea would be to have left-hand nav and right-hand content?

I agree that being able to use it with a base standard Bootstrap stylesheet is great, but I do appreciate the effort you've put into customising it - Bootstrap's great but it is very samey. This looks pretty cool for docs, just also looks maybe a little over-engineered (but as I said, I don't know what it's supposed to look like).

from daux.io.

garrett-moon avatar garrett-moon commented on September 24, 2024

The float model is intentional. It is modeled somewhat after https://stripe.com/docs/api. I think we could use a better code example to show it off, though. Neither of our samples make good use of the feature and I will probably add some documentation to highlight how it works in the future.

As a note, it can always be removed, and it still looks great.

from daux.io.

alexrussell avatar alexrussell commented on September 24, 2024

@garrett-moon my apologies then. I actually thought it was broken with all the code stuff hanging on the right-hand side (sorry about that!). Now I get it! And yes, I think a demonstration of the feature would make a lot more sense to people.

The ordered list stuff is presumably still considered broken though:

lists

Yes I'm aware you said that code/pre in lists is unlikely to be recoverable, but what about the simple multi-line lists (i.e. let's get crazy section)?

from daux.io.

garrett-moon avatar garrett-moon commented on September 24, 2024

No problem. I pushed a fixed for this about an hour ago. The float will never quite work when embedded in a list, but at least it will "fail" more gracefully now.

screenshot_7_15_13_5_38_pm

from daux.io.

alexrussell avatar alexrussell commented on September 24, 2024

Excellent work :)

from daux.io.

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.