Skip to content

Commit

Permalink
style: sticky-bottom invite users button
Browse files Browse the repository at this point in the history
  • Loading branch information
andirueckel committed Mar 27, 2024
1 parent 48ea80e commit 1959e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/explore/manage-room/UserManagement.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const UserManagement = ({ roomId, roomName, myPowerLevel }) => {
</ServiceTable>
</div>
{matrixClient.getRoom(roomId)?.currentState.hasSufficientPowerLevelFor('m.space.child', myPowerLevel) && (
<>
<div className="sticky bottom-0 flex w-full items-center space-x-2 bg-background shadow-[0px_-1px_0px_0px_hsl(var(--muted-foreground)_/_0.2)]">
<InviteUserToMatrixRoom
roomId={roomId}
trigger={
Expand All @@ -111,7 +111,7 @@ const UserManagement = ({ roomId, roomName, myPowerLevel }) => {
</Button>
}
/>
</>
</div>
)}
{errorMessage && <ErrorMessage>{errorMessage}</ErrorMessage>}
</>
Expand Down

0 comments on commit 1959e98

Please sign in to comment.