Sticker: Fix rounded corners for video

This commit is contained in:
Alexander Zinchuk 2022-11-27 19:17:12 +01:00
parent 0060264b78
commit c52521d2e0
2 changed files with 6 additions and 5 deletions

View File

@ -5,8 +5,6 @@
height: var(--custom-emoji-size);
position: relative;
border-radius: 0 !important;
&.with-grid-fix .media, &.with-grid-fix .thumb {
width: calc(100% + 1px) !important;
height: calc(100% + 1px) !important;
@ -27,11 +25,13 @@
width: var(--custom-emoji-size) !important;
height: var(--custom-emoji-size) !important;
border-radius: 0 !important;
user-select: none !important;
}
.root, .media, .thumb {
border-radius: 0 !important;
}
.highlightCatch {
position: absolute;
top: 0;

View File

@ -647,7 +647,8 @@
.media-inner,
.message-content.media .media-inner img,
.message-content.media .media-inner video,
.message-content.custom-shape .media-inner img {
.message-content.custom-shape .media-inner img,
.message-content.custom-shape .media-inner video {
border-top-left-radius: var(--border-top-left-radius);
border-top-right-radius: var(--border-top-right-radius);
border-bottom-left-radius: var(--border-bottom-left-radius);