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

Fix breaking layout when switching portrait/landscape modes #478

Merged
merged 1 commit into from
Jul 11, 2016

Conversation

astorije
Copy link
Member

This re-adds the table layout in CSS removed in 3cddbbc, #332.

The essential difference between #332 and this, in the end, is that display: table-row was removed from #chat .msg. That difference is what makes the unread marker possible.
I don't know by which sorcery this is possible, but it works. This requires testing though! I tried different scenario, window size and resize, ...

@williamboman, could you give a try at this PR since you originally mentioned that issue on the IRC channel?

This re-adds the table layout in CSS removed in 3cddbbc, #332.
@astorije astorije added the Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors. label Jul 10, 2016
@astorije astorije added this to the 2.0.0 milestone Jul 10, 2016
@williamboman
Copy link
Member

LGTM
output

@astorije
Copy link
Member Author

@williamboman, even when you switch back and forth between portrait and landscape? Also recommend trying to reside browser on desktop.

@maxpoulin64
Copy link
Member

Looks fine by me 👍 Would have expected the missing table-row to break the table, but it apparently doesn't o.O Good find, this is awesome!

@maxpoulin64
Copy link
Member

👍 'd by @MaxLeiter on IRC and minor (reverts to the original behavior), so merging.

@maxpoulin64 maxpoulin64 merged commit 9ee1adb into master Jul 11, 2016
@maxpoulin64 maxpoulin64 deleted the astorije/fix-landscape-switch branch July 11, 2016 01:47
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
…e-switch

Fix breaking layout when switching portrait/landscape modes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issues that report and PRs that solve any defects that cause unexpected behaviors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants