openhab / openhab-docs

This repository contains the documentation for openHAB.
https://www.openhab.org/docs/
Other
271 stars 689 forks source link

excessive list indentation in mainui sidebar help doc #2243

Closed jimtng closed 7 months ago

jimtng commented 7 months ago
image
stefan-hoehn commented 7 months ago

What exactly is your point here? cc: @florian-h05

jimtng commented 7 months ago

Sorry I thought it was obvious. We need to reduce the indentation so the text doesn't have to wrap so much. I just haven't figured out how to do it, so I posted it here hoping someone could figure it out.

stefan-hoehn commented 7 months ago

Ah, you mean the CSS-Style here? Yep, makes sense to me. @florian-h05 As this is taken from the openhab-docs, do we apply our own style in the UI or does it use the CSS from the openhab-docs? If it is the latter we would have the challenge to find a style that would work for both.

jimtng commented 7 months ago

Good point! I think this should just be adjusted in webui, not in the openhab-docs. It's only so narrow in the developer bar / help bar.

florian-h05 commented 7 months ago

This has to be done in the UI, see context.vue.

florian-h05 commented 7 months ago

CSS from docs does not even apply to the UI, the UI renders the .md files on it’s own.

jimtng commented 7 months ago

I couldn't figure out the CSS to do it.

florian-h05 commented 7 months ago

I have created a PR, see https://github.com/openhab/openhab-webui/pull/2423.