Replace $timeline-image-border-radius
with a CSS custom property (#10792)
* Use CSS custom property: --timeline-image-border-radius Remove the same variable from _MImageBody.pcss * Rename the property The property is neither limited to a timeline nor image, but applied to M.*?Body components as well, such as MLocationBody and MVideoBody.
This commit is contained in:
parent
c4f59d4d56
commit
dc8ea8dc27
6 changed files with 7 additions and 9 deletions
|
@ -18,7 +18,7 @@ span.mx_MVideoBody {
|
|||
overflow: hidden;
|
||||
|
||||
.mx_MVideoBody_container {
|
||||
border-radius: $timeline-image-border-radius;
|
||||
border-radius: var(--MBody-border-radius);
|
||||
overflow: hidden;
|
||||
|
||||
video {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue