fix: pill style

pull/27073/head
Badi Ifaoui 2024-01-26 07:57:58 +01:00
parent 615ce96d58
commit e1a398597b
1 changed files with 2 additions and 2 deletions

View File

@ -156,12 +156,12 @@ export const Pill: React.FC<PillProps> = ({ type: propType, url, inMessage, room
<>
{isCommunityRoom ? (
<>
<CommunityRoomIcon className="sh_RoomTokenGatedRoomIcon" style={{ marginLeft: "5px" }} />
<CommunityRoomIcon className="sh_RoomTokenGatedRoomIcon" style={{ marginLeft: "2px" }} />
<span>$</span>
</>
) : null}
{isTokenGatedRoom ? (
<TokenGatedRoomIcon className="sh_RoomTokenGatedRoomIcon" style={{ marginLeft: "5px" }} />
<TokenGatedRoomIcon className="sh_RoomTokenGatedRoomIcon" style={{ marginLeft: "2px" }} />
) : null}
<span className="mx_Pill_text">{getSafeRoomName(pillText || "")}</span>
</>