Fix padding of messages in threads (#8574)

* Apply the padding setting of EventTile_line of ThreadView to TimelineCard

Set 2px padding-top and padding-bottom property to EventTile_line on IRC/modern layout of TimelineCard.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

f

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Move position property of mx_EventTile_e2eIcon from ThreadPanel to TimelineCard

The E2E icon is available only on TimelineCard.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* yarn run lint:style

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara
2022-05-13 12:04:27 -06:00
committed by GitHub
parent b331099525
commit 1fc8009109
4 changed files with 13 additions and 19 deletions
+2
View File
@@ -15,6 +15,8 @@ limitations under the License.
*/
.mx_BaseCard {
--BaseCard_EventTile_line-padding-block: 2px;
padding: 0 8px;
overflow: hidden;
display: flex;