-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: issue: [[https://linear.app/comm/issue/ENG-8679/scroll-in-pinned-messages-on-web-seems-to-be-broken | ENG-8679]] The issue was that the pinned messages modal div was not scrollable, but fixing this revealed another issue: contents of Modal were wrapped by `modalContentContainer` which allowed its content to extend it. Test Plan: Checked ALL places where Modal component is used. Checked that after these changes they all work correctly. Here are modals that got changed: {F2568094} {F2568093} {F2568092} {F2568090} {F2568086} Here is before and after for the search component (using prod and dev): {F2568087} Reviewers: tomek, ashoat Reviewed By: tomek Differential Revision: https://phab.comm.dev/D13191
- Loading branch information
1 parent
062159e
commit 98a7d20
Showing
7 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.container { | ||
height: 80vh; | ||
overflow: scroll; | ||
max-height: 100%; | ||
} | ||
|
||
hr.separator { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
display: flex; | ||
flex-direction: column; | ||
overflow: hidden; | ||
max-height: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters