diff --git a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/StyledWrapper.js b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/StyledWrapper.js index ca582a842..3d8ea1229 100644 --- a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/StyledWrapper.js +++ b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/StyledWrapper.js @@ -35,6 +35,28 @@ const StyledWrapper = styled.div` background-color: ${(props) => props.theme.collection.environment.settings.item.active.hoverBg} !important; } } + + .flexible-container { + width: 100%; + } + + @media (max-width: 600px) { + .flexible-container { + width: 500px; + } + } + + @media (min-width: 601px) and (max-width: 1200px) { + .flexible-container { + width: 800px; + } + } + + @media (min-width: 1201px) { + .flexible-container { + width: 900px; + } + } `; export default StyledWrapper; diff --git a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/index.js b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/index.js index cd99782d1..f7ce85023 100644 --- a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/index.js +++ b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/GenerateCodeItem/index.js @@ -48,7 +48,7 @@ const GenerateCodeItem = ({ collection, item, onClose }) => { return ( -
+
{languages &&