Optional widened main column #402
No reviewers
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#402
Loading…
Reference in a new issue
No description provided.
Delete branch "Riedler/akkoma-fe:wide-columns-for-upstream"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
this necessitated some major layouting changes, so please tell me if there's anything broken that I didn't catch 😅
part of DNS#1
also, default is for this setting to be on, since I've personally heard only positive feedback for this change, but I wouldn't mind turning it to off if necessary
I don’t know CSS and the frontend specifics well enough to be able to tell which subtle breakages this might or might not bring. But one comment re what’s visible in the screenshots:
This apparently extends the underlay to always cover the whole screen rather than just the area with columns. Personally i have the underlay disabled anyway, but i’ve always assumed it is to distinguish the content area and possibly add some additional damping to the background and make posts more readable with translucent text backgrounds while still showing the background image in its original vibrancy in the padding area. If the underlay just applies to the whole area this purpose gets lost and one might as well just set a pre-mixed background colour or image
I can change that somewhat easily I think, will do that in a bit
the underlay problems should be fixed now
Thanks!
Seems to work fine for me in testing, but as mentioned before i’m not familiar enough with the frontend’s (and in general) CSS to give this a more thorough review
@ -172,6 +172,10 @@ nav {
background-color: rgba(0, 0, 0, 0.15);
background-color: var(--underlay, rgba(0, 0, 0, 0.15));
unrelated to your changes, but do you happen to know why
background-color
is defined twice here? iiuc the second parameter invar
already is a fallback value. Is this for old browsers which don’ŧ supportvar
at all, or something else?I would assume it's for older browers that don't know the
var
syntax, since invalid values get discarded, in which case line 172 would be in effect. At this point though, do we still want to support that? That's basically just for IE11 and other really really ancient browsers.image source: https://caniuse.com/css-variables
I doubt akkoma works on these browsers at all tbh. If not for all of the grid and flex, definitely for our fairly modern javascript (though I'm less knowledgable there, so don't ask me for specifics xD).
Actually there’s one thing: with this patch and wide mode turned off, the TL is slightly narrow than without the patch on non-wide (but not yet mobile) screens, e.g. 5:4
The difference is minute however and i only noticed in direct comparison, so imho nothing to worry about but documenting it here just in case
hmm, the difference is probably due to the changes I made to padding, since the rest should be 1:1 the same as before in terms of width in non-wide mode.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.