Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fixed misaligned reply preview in thread composer. #9733

Closed
wants to merge 1 commit into from

Conversation

NerdyLucifer
Copy link

@NerdyLucifer NerdyLucifer commented Dec 11, 2022

Signed-off-by: NerdyLucifer ashwatpas@gmail.com
Fixes: element-hq/element-web/issues/23396
Type: Defect

Screenshot 2022-12-11 at 07 54 10

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

element-web notes: Fixed misaligned reply preview in thread composer.


Here's what your changelog entry will look like:

🐛 Bug Fixes

  • Fixed misaligned reply preview in thread composer. (#9733). Contributed by @NerdyLucifer.

Signed-off-by: NerdyLucifer <ashwatpas@gmail.com>
@NerdyLucifer NerdyLucifer requested a review from a team as a code owner December 11, 2022 03:12
@github-actions github-actions bot added Z-Community-PR Issue is solved by a community member's PR T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems labels Dec 11, 2022
Copy link
Contributor

@germain-gg germain-gg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your first contribution, looks great!
If we can ensure correctness in the main room timeline too, we should be able to land this change.

@@ -20,6 +20,7 @@ limitations under the License.
background: $background;
max-height: 50vh;
overflow: auto;
margin: 0 0 0 -8px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will shift the reply preview left by 8 pixels in all scenarios.
That might create a visual regression in the main room timeline too. Could you add some screenshots for that context too so we can validate whether it looks adequate.

We also tend to use $spacing-8 rather than hardcoding a value. calc(-1 * $spacing-8) should achieve the same result here

@weeman1337
Copy link
Contributor

Other PR targeting the same issue: #9977

@weeman1337
Copy link
Contributor

@NerdyLucifer unfortunately someone else was faster than you 😐

Closing in favour of #9977

@weeman1337 weeman1337 closed this Jan 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Misaligned reply preview in thread composer
4 participants