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

Fix dropdown button size for picture-in-picture CallView #8680

Merged
merged 2 commits into from
May 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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