LostRuins / lite.koboldai.net

A zero dependency web UI for KoboldAI Horde
GNU Affero General Public License v3.0
69 stars 34 forks source link

Add media query styles for printing #61

Closed one-lithe-rune closed 7 months ago

one-lithe-rune commented 7 months ago

Motivation

Printing in story mode still includes a lot the UI, and the main text doesn't seem to flow beyond the first page in non-aesthetic mode (at least for me).

This should fix that for all modes.

Changes

Possible Problems/Concern

one-lithe-rune commented 7 months ago

LGTM although I would prefer it to only apply these styles when printable view is toggled, in case someone actually wants to print the original UI. But it's fine for now.

Just tried tying them to the unlock scroll height toggle. I can put up another PR for that if you want.

But...

...should 'unlock scroll height' and 'don't print UI when printing' actually be tied together? They would make more sense to me as separate options. Your call.

LostRuins commented 7 months ago

Actually I think the current layout is fine, so it's probably good for now unless someone complains.