fix: Fix wrapping issue. use same styling as the page before
This commit is contained in:
parent
3c79e6ef37
commit
a2e7549ce2
|
@ -1,6 +1,7 @@
|
|||
import { Text } from '@status-im/components'
|
||||
import { Link } from 'react-router-dom'
|
||||
import { Stack, YStack } from 'tamagui'
|
||||
import { useWindowSize } from '../../../hooks/useWindowSize'
|
||||
|
||||
type AdvisoriesContentProps = {
|
||||
title: string
|
||||
|
@ -8,8 +9,9 @@ type AdvisoriesContentProps = {
|
|||
}
|
||||
|
||||
const AdvisoriesContent = ({ title, content }: AdvisoriesContentProps) => {
|
||||
const windowSize = useWindowSize()
|
||||
return (
|
||||
<YStack space={'$1'} style={{ width: '70%' }}>
|
||||
<YStack space={'$1'} width={windowSize.width < 780 ? '100%' : '70%'}>
|
||||
<Stack style={{ marginBottom: '5%' }}>
|
||||
<Text size={27} weight={400}>
|
||||
{title}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
display: flex;
|
||||
padding: 30px;
|
||||
justify-content: space-between;
|
||||
width: auto;
|
||||
}
|
||||
.advisories-nav {
|
||||
display: flex;
|
||||
|
|
|
@ -118,7 +118,7 @@ const ContinueButton = () => {
|
|||
width: '100%',
|
||||
justifyContent: isActivationValScreen
|
||||
? 'space-between'
|
||||
: windowSize.width < 720
|
||||
: windowSize.width < 560
|
||||
? 'start'
|
||||
: 'end',
|
||||
alignItems: 'center',
|
||||
|
|
Loading…
Reference in New Issue