nicolasprigent / Dokuwiki-Kiwiki-Theme

Flex theme for Dokuwiki
https://www.dokuwiki.org/template:kiwiki
GNU General Public License v2.0
9 stars 3 forks source link

Full-Screen reset by site swtich #28

Closed suther closed 1 week ago

suther commented 2 weeks ago

I am a fan of wide pages. I like the full-screen-view you've build in.

But I would love to have this full-screen mode all the time. If I start full-screen and click on a link (to navigate to another page in the wiki) the fullscreen is closed.

Would be nice if there could be a checkbox like "keep fullscreen" and as long as it's ticked, it won't switch back to normal view.

BTW: Isn't there any way to change the "default-layout" to be wider? Would love to have an config-setting to remove this max-width value:

image

nicolasprigent commented 1 week ago

hi @suther , the full screen button shouldn't be a permanent switch on the ui in my opinion, it's supposed to be a tool to read the content in a more focused way. But I think you'll be fine with the update that I've made. You can now choose a "Content Max Width" in the theme options. By default, it's the same width than before (1300px), but you can put whatever css value that you want now. Like 100% if you want. image Let me know if it's ok for you ?

suther commented 1 week ago

That's great, thank you. BTW: Is there a way to pre-set the light / dark mode in the settings? Would be awesome to force one of both as initial value.

suther commented 1 week ago

@nicolasprigent found that you missed to set this variable for the search-result:

image