mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 14:44:58 +08:00
228abb6f07
* Move mx_RoomView_MessageList h2 block from _GroupLayout.scss to _RoomView.scss Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Move mx_MatrixChat_useCompactLayout block from _GroupLayout.scss to _EventTile.scss This block is not related to the group layout. Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Include EventTile_continuation block in EventTile_emote Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Use logical properties for the padding values Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Sort declarations for maintainability - EventTile_avatar - EventTile_line - EventTile_reply Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * yarn run lint:style --fix Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Separate selectors of .markdown-body Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
49 lines
1.3 KiB
SCSS
49 lines
1.3 KiB
SCSS
/*
|
|
Copyright 2015, 2016 OpenMarket Ltd
|
|
Copyright 2020 The Matrix.org Foundation C.I.C.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
$left-gutter: 64px;
|
|
|
|
.mx_GroupLayout {
|
|
--GroupLayout-EventTile-line-height: $font-22px;
|
|
|
|
.mx_EventTile {
|
|
> .mx_DisambiguatedProfile {
|
|
line-height: $font-20px;
|
|
margin-left: $left-gutter;
|
|
}
|
|
|
|
> .mx_EventTile_avatar {
|
|
position: absolute;
|
|
z-index: 9;
|
|
}
|
|
|
|
.mx_MessageTimestamp {
|
|
position: absolute; // for modern layout
|
|
}
|
|
|
|
.mx_EventTile_line,
|
|
.mx_EventTile_reply {
|
|
padding-top: 1px;
|
|
padding-bottom: 3px;
|
|
}
|
|
|
|
.mx_EventTile_reply {
|
|
line-height: var(--GroupLayout-EventTile-line-height);
|
|
}
|
|
}
|
|
}
|