Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make detailed-status__wrapper actually wrap detailed status #8547

Merged
merged 2 commits into from
Oct 30, 2018
Merged

Make detailed-status__wrapper actually wrap detailed status #8547

merged 2 commits into from
Oct 30, 2018

Conversation

trwnh
Copy link
Member

@trwnh trwnh commented Sep 1, 2018

.detailed-status__wrapper does not actually wrap the detailed status right now, as the class is applied to the scrollable div and not the focusable div.

.detailed-status__wrapper does not actually wrap the detailed status here
.detailed-status__wrapper now wraps the detailed status instead of the entire scrollable area
@trwnh trwnh changed the title [WIP] Make detailed-status__wrapper actually wrap detailed status Make detailed-status__wrapper actually wrap detailed status Sep 1, 2018
@trwnh
Copy link
Member Author

trwnh commented Oct 29, 2018

Can this be reviewed before 2.6.0?

@Gargron
Copy link
Member

Gargron commented Oct 30, 2018

I'm sorry but could you please clarify the significance of this? Does something change in the style or JS behaviour?

@trwnh
Copy link
Member Author

trwnh commented Oct 30, 2018

@Gargron Right now, when attempting to apply styles to the div immediately wrapping a detailed status, there is no easy selector that can be used to target it. It doesn't matter so much for the default style, but it makes custom styling harder than it should be. It's incredibly overly-broad in scope:
image

It's also technically a bug, since the __wrapper class is immediately outside every other status class.

@Gargron Gargron merged commit 2cc099c into mastodon:master Oct 30, 2018
@trwnh trwnh deleted the patch-2 branch October 30, 2018 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants