mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Merge pull request #4712 from matrix-org/t3chguy/compact-mode
Fix compact layout regression
This commit is contained in:
commit
f221e06068
1 changed files with 5 additions and 6 deletions
|
@ -18,7 +18,6 @@ limitations under the License.
|
||||||
$left-gutter: 65px;
|
$left-gutter: 65px;
|
||||||
|
|
||||||
.mx_GroupLayout {
|
.mx_GroupLayout {
|
||||||
|
|
||||||
.mx_EventTile {
|
.mx_EventTile {
|
||||||
> .mx_SenderProfile {
|
> .mx_SenderProfile {
|
||||||
line-height: $font-17px;
|
line-height: $font-17px;
|
||||||
|
@ -53,14 +52,14 @@ $left-gutter: 65px;
|
||||||
/* Compact layout overrides */
|
/* Compact layout overrides */
|
||||||
|
|
||||||
.mx_MatrixChat_useCompactLayout {
|
.mx_MatrixChat_useCompactLayout {
|
||||||
.mx_EventTile_line, .mx_EventTile_reply {
|
|
||||||
padding-top: 0px;
|
|
||||||
padding-bottom: 0px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_EventTile {
|
.mx_EventTile {
|
||||||
padding-top: 4px;
|
padding-top: 4px;
|
||||||
|
|
||||||
|
.mx_EventTile_line, .mx_EventTile_reply {
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
&.mx_EventTile_info {
|
&.mx_EventTile_info {
|
||||||
// same as the padding for non-compact .mx_EventTile.mx_EventTile_info
|
// same as the padding for non-compact .mx_EventTile.mx_EventTile_info
|
||||||
padding-top: 0px;
|
padding-top: 0px;
|
||||||
|
|
Loading…
Reference in a new issue