You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Slightly improve the look of the Message edits
dialog (#8763)
* Improve the look of the `Message edits` dialog Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com> * Left-align title Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -14,10 +14,6 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.mx_MessageEditHistoryDialog .mx_Dialog_header > .mx_Dialog_title {
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.mx_MessageEditHistoryDialog {
|
.mx_MessageEditHistoryDialog {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -56,17 +52,31 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mx_EventTile {
|
.mx_EventTile {
|
||||||
|
padding-top: 0 !important; // Override mx_EventTile:not([data-layout=bubble])
|
||||||
|
|
||||||
.mx_MessageTimestamp {
|
.mx_MessageTimestamp {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.mx_EventTile_line, .mx_EventTile_content {
|
.mx_EventTile_line {
|
||||||
|
padding-top: 1px;
|
||||||
|
padding-bottom: 3px;
|
||||||
|
|
||||||
|
line-height: $font-22px;
|
||||||
|
|
||||||
|
.mx_EventTile_content {
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.mx_MessageActionBar .mx_AccessibleButton {
|
.mx_MessageActionBar .mx_AccessibleButton {
|
||||||
font-size: $font-10px;
|
display: flex;
|
||||||
padding: 0 8px;
|
align-items: center;
|
||||||
|
|
||||||
|
padding-inline-start: $spacing-8;
|
||||||
|
padding-inline-end: $spacing-8;
|
||||||
|
|
||||||
|
font-size: $font-15px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user