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

Copy Button overlapping with Copyable Text resolved. #10226

Closed
wants to merge 3 commits into from
Closed

Copy Button overlapping with Copyable Text resolved. #10226

wants to merge 3 commits into from

Conversation

Adesh-Pandey
Copy link
Contributor

@Adesh-Pandey Adesh-Pandey commented Feb 23, 2023

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)

On element-web, although Pull Request solves the overflowing issue for the specific access token section, it fails when screen size is around 12 inches. In order to make the solution less of a fix for this specific case, I modified the main CSS classes that these copy button and the text div were using. This resulted changes on multiple section of the app ( room sharing link, room message sharing link, access token , room information ) which works perfectly fine in all of those cases while solving the overlapping problem in the access token section.

Before :
overlapping copy button

After :

  1. Room information (Room settings -> Advanced )
    room advance

  2. Share room message
    Share room message)

  3. Share room
    share room

  4. Access Token
    Access token

Bug Fixes:

Notes: Fix a bug that was generated while solving the issue (element-hq/element-web#24023) .

Signed-off-by: Adesh Pandey [email protected]


T-task
-->


This PR currently has none of the required changelog labels.

A reviewer can add one of: T-Deprecation, T-Enhancement, T-Defect, T-Task to indicate what type of change this is, or add Type: [enhancement/defect/task] to the description and I'll add them for you.

…ecially to solve the overlapping problem in the access token div
…ecially to solve the overlapping problem in the access token div and replaced the scroll with auto
@github-actions
Copy link

Thanks for opening this pull request, unfortunately we do not accept contributions from the main branch of your fork, please re-open once you switch to an alternative branch for everyone's sanity. See https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md

@github-actions github-actions bot added the Z-Community-PR Issue is solved by a community member's PR label Feb 23, 2023
@github-actions github-actions bot closed this Feb 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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.

1 participant