Skip to content

Commit

Permalink
fix: pill style
Browse files Browse the repository at this point in the history
  • Loading branch information
ifaouibadi committed Jan 26, 2024
1 parent 615ce96 commit e1a3985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/views/elements/Pill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
</>
Expand Down

0 comments on commit e1a3985

Please sign in to comment.