change(ui): mobile resolution
This commit is contained in:
parent
d05ddebeb9
commit
ffae7169e4
1 changed files with 3 additions and 1 deletions
|
|
@ -36,6 +36,8 @@ function UserCard({ className, request, session, width, height, similarSessions,
|
|||
userDisplayName,
|
||||
userDeviceType,
|
||||
revId,
|
||||
screenWidth,
|
||||
screenHeight
|
||||
} = session;
|
||||
|
||||
const hasUserDetails = !!userId || !!userAnonymousId;
|
||||
|
|
@ -137,7 +139,7 @@ function UserCard({ className, request, session, width, height, similarSessions,
|
|||
<SessionInfoItem
|
||||
icon={deviceTypeIcon(userDeviceType)}
|
||||
label={userDeviceType}
|
||||
value={getDimension(width, height)}
|
||||
value={getDimension(width || screenWidth, height || screenHeight)}
|
||||
isLast={!revId}
|
||||
/>
|
||||
{revId && <SessionInfoItem icon="info" label="Rev ID:" value={revId} isLast />}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue