diff --git a/patches/show-icon-on-public-room/matrix-react-sdk+3.88.0.patch b/patches/show-icon-on-public-room/matrix-react-sdk+3.88.0.patch index 982f09d3e..13c93bc13 100644 --- a/patches/show-icon-on-public-room/matrix-react-sdk+3.88.0.patch +++ b/patches/show-icon-on-public-room/matrix-react-sdk+3.88.0.patch @@ -1,5 +1,5 @@ diff --git a/node_modules/matrix-react-sdk/src/components/views/avatars/DecoratedRoomAvatar.tsx b/node_modules/matrix-react-sdk/src/components/views/avatars/DecoratedRoomAvatar.tsx -index 39997e1..5b88a91 100644 +index 39997e1..844d59d 100644 --- a/node_modules/matrix-react-sdk/src/components/views/avatars/DecoratedRoomAvatar.tsx +++ b/node_modules/matrix-react-sdk/src/components/views/avatars/DecoratedRoomAvatar.tsx @@ -30,6 +30,9 @@ import TextWithTooltip from "../elements/TextWithTooltip"; @@ -64,6 +64,25 @@ index 39997e1..5b88a91 100644 if (!this.isWatchingTimeline) { this.props.room.on(RoomEvent.Timeline, this.onRoomTimeline); this.isWatchingTimeline = true; +@@ -205,6 +237,10 @@ export default class DecoratedRoomAvatar extends React.PureComponent ++ { /*:TCHAP: extra div to fix positioning. ++ https://github.com/tchapgouv/tchap-web-v4/issues/890 ++ Issue should be opened in element-web. */ } ++
+ + {icon} + {badge} ++
{ /*:TCHAP: close div */ } + + ); + } diff --git a/node_modules/matrix-react-sdk/src/components/views/right_panel/RoomSummaryCard.tsx b/node_modules/matrix-react-sdk/src/components/views/right_panel/RoomSummaryCard.tsx index d6dd212..67a3727 100644 --- a/node_modules/matrix-react-sdk/src/components/views/right_panel/RoomSummaryCard.tsx diff --git a/res/css/views/avatars/_TchapDecoratedRoomAvatar.pcss b/res/css/views/avatars/_TchapDecoratedRoomAvatar.pcss index 8a9534d8e..d4073b957 100644 --- a/res/css/views/avatars/_TchapDecoratedRoomAvatar.pcss +++ b/res/css/views/avatars/_TchapDecoratedRoomAvatar.pcss @@ -2,6 +2,11 @@ Copyright 2022 DINUM */ +.mx_DecoratedRoomAvatar .mx_DecoratedRoomAvatar_positionedParent { + position: relative; + display: inline-block; +} + .mx_DecoratedRoomAvatar .mx_DecoratedRoomAvatar_icon.mx_DecoratedRoomAvatar_icon_forum::before, .mx_ExtraTile .mx_DecoratedRoomAvatar_icon_forum::before { mask-position: center;