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

Commit

Permalink
Fix dropdown button size for picture-in-picture CallView (#8680)
Browse files Browse the repository at this point in the history
  • Loading branch information
luixxiul committed May 24, 2022
1 parent 6cdeb64 commit ed2c790
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions res/css/views/voip/CallView/_CallViewButtons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ limitations under the License.
}

.mx_CallViewButtons {
--CallViewButtons_dropdownButton-size: 16px;

position: absolute;
display: flex;
justify-content: center;
Expand Down Expand Up @@ -65,8 +67,8 @@ limitations under the License.
}

&.mx_CallViewButtons_dropdownButton {
width: 16px;
height: 16px;
width: var(--CallViewButtons_dropdownButton-size);
height: var(--CallViewButtons_dropdownButton-size);

position: absolute;
right: 0;
Expand Down
5 changes: 5 additions & 0 deletions res/css/views/voip/_CallView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ limitations under the License.
width: 34px;
height: 34px;

&.mx_CallViewButtons_dropdownButton {
width: var(--CallViewButtons_dropdownButton-size);
height: var(--CallViewButtons_dropdownButton-size);
}

&::before {
width: 22px;
height: 22px;
Expand Down

0 comments on commit ed2c790

Please sign in to comment.