You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-04 23:02:14 +03:00
Stop using :not() pseudo class for mx_MImageBody to decrease the specificity of the rule for images on file panel (#8886)
This commit is contained in:
@@ -55,10 +55,6 @@ limitations under the License.
|
||||
}
|
||||
}
|
||||
|
||||
.mx_FilePanel .mx_EventTile .mx_MImageBody {
|
||||
margin-right: 0px;
|
||||
}
|
||||
|
||||
.mx_FilePanel .mx_EventTile .mx_MFileBody {
|
||||
line-height: 2.4rem;
|
||||
}
|
||||
|
@@ -72,6 +72,13 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
|
||||
gap: $spacing-4;
|
||||
}
|
||||
|
||||
&[data-layout=irc],
|
||||
&[data-layout=group] {
|
||||
.mx_MImageBody {
|
||||
margin-right: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-layout=group] {
|
||||
> .mx_DisambiguatedProfile {
|
||||
line-height: $font-20px;
|
||||
@@ -275,8 +282,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
|
||||
}
|
||||
|
||||
.mx_MImageBody {
|
||||
margin-right: 34px;
|
||||
|
||||
.mx_MImageBody_thumbnail_container {
|
||||
justify-content: flex-start;
|
||||
min-height: $font-44px;
|
||||
|
Reference in New Issue
Block a user