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

Show Tree View Only On Large Screens #70

Open
westocl opened this issue Apr 5, 2022 · 6 comments
Open

Show Tree View Only On Large Screens #70

westocl opened this issue Apr 5, 2022 · 6 comments
Labels
question Further information is requested

Comments

@westocl
Copy link

westocl commented Apr 5, 2022

Is there a way to configure the CSS to only show the tree view on large screens?

The tree view is helpful but only on desktops. When viewed on a mobile, it is more of a distraction because of the lack of space

@dmadison
Copy link

dmadison commented Apr 5, 2022

Isn't this already the case? The tree-view collapses to a hamburger menu below 768 px width.

@jothepro jothepro added the question Further information is requested label Apr 6, 2022
@westocl
Copy link
Author

westocl commented Apr 6, 2022 via email

@jothepro
Copy link
Owner

jothepro commented Apr 6, 2022

I don't have an iPad at hand, can you provide screenshots of what you are seeing? Maybe your browser is in "Desktop mode" which would mean that the page is scaled down to fit in the viewport?

The breakpoint for the mobile layout is not parameterized, it's fixed to < 768px as @dmadison pointed out. Afaik this is inherited from the default Doxygen theme. I'm not sure if it's possible to make it configurable, it may be hardcoded in some Doxygen JS-code.

Nevertheless I agree that especially with the sidebar-only theme the layout may be suboptimal on some tablets. On the demo page the sidebar is taking up nearly half of the screen right before it would switch to the mobile layout. 😕

Bildschirmfoto 2022-04-06 um 18 56 40

@westocl
Copy link
Author

westocl commented Apr 6, 2022 via email

@westocl
Copy link
Author

westocl commented Apr 6, 2022 via email

@jothepro
Copy link
Owner

jothepro commented May 4, 2022

@westocl any updates from your side? Did you ultimately resolve the problem?

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

No branches or pull requests

3 participants