MichaelEbert / OblivionProgressTracker

Interactive progress tracker for TES IV: Oblivion
GNU General Public License v3.0
4 stars 5 forks source link

Prevent interactive terms from being on multiple lines of text? #295

Open MeemawHustlin opened 1 year ago

MeemawHustlin commented 1 year ago

Often interactive terms get split across the end of one line and the beginning of another, resulting in a slightly confusing appearance. Would it be worth it to force these terms to be all on one line? I'm imagining situations like a save file input box being on the line after the name of the save where a player might miss it or be confused not realizing the box is connected to the save name. This could also have a bad outcome of guide text looking very disjointed though.

MichaelEbert commented 1 year ago

sure? a cursory look through v3 doesn't seem so bad, so either way i think its fine. If you want to add it to the css, go ahead.

MeemawHustlin commented 1 year ago

.item, .spellname, .save { white-space: nowrap; }

does what I want aside from adding a scroll bar to the section. A min width may solve this but an obnoxiously long book name will ruin everything regardless. If I can situationally change the white-space to be nowrap unless the container is too thin, that might work but that'll be much easier to implement after draft PR #298 is done.

MichaelEbert commented 1 year ago

can probably simplify to .item .spellname. All saves are items.