Merge pull request #6579 from SimonBrandner/family-friendly-branch-name

Fix source picker sizing issues (again)
This commit is contained in:
Dariusz Niemczyk 2021-08-07 15:50:17 +02:00 committed by GitHub
commit 390a3ebcbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,33 +24,33 @@ limitations under the License.
align-items: flex-start; align-items: flex-start;
height: 500px; height: 500px;
overflow: overlay; overflow: overlay;
}
.mx_desktopCapturerSourcePicker_source { .mx_desktopCapturerSourcePicker_source {
display: flex; width: 50%;
flex-direction: column; display: flex;
margin: 8px; flex-direction: column;
}
.mx_desktopCapturerSourcePicker_source_thumbnail { .mx_desktopCapturerSourcePicker_source_thumbnail {
margin: 4px; margin: 4px;
padding: 4px; padding: 4px;
border-width: 2px; border-width: 2px;
border-radius: 8px; border-radius: 8px;
border-style: solid; border-style: solid;
border-color: transparent; border-color: transparent;
&.mx_desktopCapturerSourcePicker_source_thumbnail_selected, &.mx_desktopCapturerSourcePicker_source_thumbnail_selected,
&:hover, &:hover,
&:focus { &:focus {
border-color: $accent-color; border-color: $accent-color;
}
}
.mx_desktopCapturerSourcePicker_source_name {
margin: 0 4px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
} }
} }
.mx_desktopCapturerSourcePicker_source_name {
margin: 0 4px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
} }