Unify notifications panel event design (#9754)
This commit is contained in:
@@ -210,7 +210,6 @@ limitations under the License.
|
||||
|
||||
.mx_FilePanel,
|
||||
.mx_UserInfo,
|
||||
.mx_NotificationPanel,
|
||||
.mx_MemberList {
|
||||
&.mx_BaseCard {
|
||||
padding: $spacing-32 0 0;
|
||||
|
||||
@@ -836,7 +836,8 @@ $left-gutter: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_EventTile[data-shape="ThreadsList"] {
|
||||
.mx_EventTile[data-shape="ThreadsList"],
|
||||
.mx_EventTile[data-shape="Notification"] {
|
||||
--topOffset: $spacing-12;
|
||||
--leftOffset: 48px;
|
||||
$borderRadius: 8px;
|
||||
@@ -916,9 +917,7 @@ $left-gutter: 64px;
|
||||
}
|
||||
|
||||
.mx_DisambiguatedProfile {
|
||||
margin-inline: 0 $spacing-12;
|
||||
display: inline-flex;
|
||||
flex: 1;
|
||||
|
||||
.mx_DisambiguatedProfile_displayName,
|
||||
.mx_DisambiguatedProfile_mxid {
|
||||
@@ -941,6 +940,7 @@ $left-gutter: 64px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding-bottom: 0;
|
||||
padding-inline-start: var(--leftOffset);
|
||||
|
||||
.mx_ThreadPanel_replies {
|
||||
margin-top: $spacing-8;
|
||||
@@ -966,11 +966,6 @@ $left-gutter: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_DisambiguatedProfile,
|
||||
.mx_EventTile_line {
|
||||
padding-inline-start: var(--leftOffset);
|
||||
}
|
||||
|
||||
.mx_MessageTimestamp {
|
||||
font-size: $font-12px;
|
||||
max-width: var(--MessageTimestamp-max-width);
|
||||
@@ -1300,6 +1295,21 @@ $left-gutter: 64px;
|
||||
}
|
||||
}
|
||||
|
||||
.mx_EventTile_details {
|
||||
display: flex;
|
||||
width: -webkit-fill-available;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: $spacing-8;
|
||||
margin-left: var(--leftOffset);
|
||||
.mx_EventTile_truncated {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
/* Media query for mobile UI */
|
||||
@media only screen and (max-width: 480px) {
|
||||
.mx_EventTile_content {
|
||||
|
||||
Reference in New Issue
Block a user