mirror of
https://github.com/jambonz/chrome-extension-dialer.git
synced 2026-10-04 02:04:28 +00:00
fix status header allignment
This commit is contained in:
Binary file not shown.
@@ -422,14 +422,21 @@ export const Phone = ({
|
|||||||
{isConfigured ? (
|
{isConfigured ? (
|
||||||
<>
|
<>
|
||||||
<HStack spacing={2} boxShadow="md" w="full" borderRadius={5} p={2}>
|
<HStack spacing={2} boxShadow="md" w="full" borderRadius={5} p={2}>
|
||||||
<Image src={isOnline() ? GreenAvatar : Avatar} boxSize="50px" />
|
<Image src={isOnline() ? GreenAvatar : Avatar} boxSize="35px" />
|
||||||
<VStack alignItems="start" w="full" spacing={0}>
|
<VStack alignItems="start" w="full" spacing={0}>
|
||||||
<HStack spacing={2} w="full">
|
<HStack spacing={2} w="full">
|
||||||
<Text fontWeight="bold" fontSize="13px">
|
<Text fontWeight="bold" fontSize="13px">
|
||||||
{sipDisplayName || sipUsername}
|
{sipDisplayName || sipUsername}
|
||||||
</Text>
|
</Text>
|
||||||
<Circle size="8px" bg={isOnline() ? "green.500" : "gray.500"} />
|
<Circle size="8px" bg={isOnline() ? "green.500" : "gray.500"} />
|
||||||
|
</HStack>
|
||||||
|
<Text fontWeight="bold" w="full">
|
||||||
|
{`${sipUsername}@${sipDomain}`}
|
||||||
|
</Text>
|
||||||
|
</VStack>
|
||||||
|
|
||||||
<Spacer />
|
<Spacer />
|
||||||
|
<VStack h="full" align="center">
|
||||||
<JambonzSwitch
|
<JambonzSwitch
|
||||||
isDisabled={isForceChangeUaStatus}
|
isDisabled={isForceChangeUaStatus}
|
||||||
onlabel="Online"
|
onlabel="Online"
|
||||||
@@ -440,10 +447,6 @@ export const Phone = ({
|
|||||||
handleGoOffline(v ? "online" : "offline");
|
handleGoOffline(v ? "online" : "offline");
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</HStack>
|
|
||||||
<Text fontWeight="bold" w="full">
|
|
||||||
{`${sipUsername}@${sipDomain}`}
|
|
||||||
</Text>
|
|
||||||
</VStack>
|
</VStack>
|
||||||
</HStack>
|
</HStack>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user