Skip to content

Commit

Permalink
Fixed group info width (#805)
Browse files Browse the repository at this point in the history
* fix: fixed width of group info modal

* fix: fixed width in group-info
  • Loading branch information
mishramonalisha76 authored Oct 25, 2023
1 parent 982da0d commit 0bf06d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"react-router-dom": "6.3.0",
"regenerator-runtime": "0.13.7",
"socket.io-client": "^4.5.2",
"styled-components": "^5.3.5",
"styled-components": "^6.0.8",
"tiny-invariant": "^1.2.0",
"ts-mocha": "^10.0.0",
"tslib": "^2.3.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ const GroupInformation = ({
};

return (
<Section margin="auto" width={isMobile ? '100%' : '410px'} flexDirection="column">
<Section margin="auto" width='100%' flexDirection="column">
<GroupDescription>
<Span fontSize="18px" color={theme.textColor?.modalHeadingText}>
Chat ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const EncryptionMessageContent = {
margin="10px 10px 0px"
width={isMobile ? '80%' : 'fit-content'}
>
<EncryptionMessageDiv textAlign="center">
<EncryptionMessageDiv textAlign="center" >
{EncryptionMessageContent[id].IconComponent}

<Span
Expand All @@ -61,6 +61,7 @@ const EncryptionMessageContent = {

//styles
const EncryptionMessageDiv = styled(Div)`
display:flex;
text-align: center;
svg {
vertical-align: middle;
Expand Down

0 comments on commit 0bf06d1

Please sign in to comment.