Fix buttons intersecting on Subscribed Channels tab #4058
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix buttons intersecting on Subscribed Channels tab
Pull Request Type
Related issue
None
Description
Fixes buttons on the Subscribed Channels tab intersecting in many languages. In all languages where this issue occurs, there are multiple words in the Unsubscribe button label text, which causes the buttons to intersect. This change has the words wrap in such cases and updates the default behavior for all
ft-subscribe-button
s for future-proofing. As a result, this wrapping behavior goes into effect on other instances offt-subscribe-button
when the button would otherwise overflow to outside of the container (e.g., the subscribe button on the Channel page on very small viewport widths), but this is desired behavior in those cases.Screenshots
Before:
![Screenshot_20230918_182239](https://private-user-images.githubusercontent.com/84899178/268796245-9c6ebcee-b3ba-4d34-a17e-dea14aec4d86.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MTE0NTMsIm5iZiI6MTczOTQxMTE1MywicGF0aCI6Ii84NDg5OTE3OC8yNjg3OTYyNDUtOWM2ZWJjZWUtYjNiYS00ZDM0LWExN2UtZGVhMTRhZWM0ZDg2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDAxNDU1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMyN2QzNTI5MGM2ZTQzZjdmMWM4ZWFkZTJmZWIxMjE2NGE0NThiYmMyYjA3NTRmM2M4MTcyNGM4Zjg4OWM2YzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PT5AXrtvbu-YsnfF3SPTzqW5yg_wjvs4E-SFGSihXHw)
After:
![Screenshot_20230918_182221](https://private-user-images.githubusercontent.com/84899178/268796246-46632ae1-c3bd-41d1-b783-6a19a355985b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0MTE0NTMsIm5iZiI6MTczOTQxMTE1MywicGF0aCI6Ii84NDg5OTE3OC8yNjg3OTYyNDYtNDY2MzJhZTEtYzNiZC00MWQxLWI3ODMtNmExOWEzNTU5ODViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDAxNDU1M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2Y2RhNDEyOWZjYjI1NzQyMDBmNTc5OGEzNzMyYzNmMjdlNGE0M2ZjOGZkMDBjNGQzNjE0NmE2ZmIzYWEyOGQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Nd5_TSB1BjvQJgRV3Uwt0vDTgAQ2HR3w1LIvHkec_YE)
Testing
Svenska
/ Swedish)Desktop