Skip to content

Commit e9f7d43

Browse files
SimonBrandnerJanBurp
authored andcommitted
Slightly improve the look of the Message edits dialog (matrix-org#8763)
* Improve the look of the `Message edits` dialog Signed-off-by: Šimon Brandner <[email protected]> * Left-align title Signed-off-by: Šimon Brandner <[email protected]>
1 parent f82a01c commit e9f7d43

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

res/css/views/dialogs/_MessageEditHistoryDialog.scss

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17-
.mx_MessageEditHistoryDialog .mx_Dialog_header > .mx_Dialog_title {
18-
text-align: center;
19-
}
20-
2117
.mx_MessageEditHistoryDialog {
2218
display: flex;
2319
flex-direction: column;
@@ -56,17 +52,31 @@ limitations under the License.
5652
}
5753

5854
.mx_EventTile {
55+
padding-top: 0 !important; // Override mx_EventTile:not([data-layout=bubble])
56+
5957
.mx_MessageTimestamp {
6058
position: absolute;
6159
}
62-
}
6360

64-
.mx_EventTile_line, .mx_EventTile_content {
65-
margin-right: 0px;
61+
.mx_EventTile_line {
62+
padding-top: 1px;
63+
padding-bottom: 3px;
64+
65+
line-height: $font-22px;
66+
67+
.mx_EventTile_content {
68+
margin-right: 0px;
69+
}
70+
}
6671
}
6772

6873
.mx_MessageActionBar .mx_AccessibleButton {
69-
font-size: $font-10px;
70-
padding: 0 8px;
74+
display: flex;
75+
align-items: center;
76+
77+
padding-inline-start: $spacing-8;
78+
padding-inline-end: $spacing-8;
79+
80+
font-size: $font-15px;
7181
}
7282
}

0 commit comments

Comments
 (0)