Просмотр исходного кода

test font size newsletter

master
azri 11 месяцев назад
Родитель
Сommit
6a1b8f7566
1 измененных файлов: 2 добавлений и 2 удалений
  1. 2
    2
      src/components/NewsLetter/NewsLetter.jsx

+ 2
- 2
src/components/NewsLetter/NewsLetter.jsx Просмотреть файл

49
           <Typography variant='h4' sx={{fontWeight:"500", fontSize:"1.8rem !important", pb:2}}>
49
           <Typography variant='h4' sx={{fontWeight:"500", fontSize:"1.8rem !important", pb:2}}>
50
             Let's stay in touch
50
             Let's stay in touch
51
           </Typography>
51
           </Typography>
52
-          <Typography variant='body1'>
52
+          <Typography variant='body1' sx={{fontSize:{xs:"0.875rem", sm:"0.875rem", md:"1rem" }}}>
53
             Enjoy 15% off your first order when you join our mailing list.
53
             Enjoy 15% off your first order when you join our mailing list.
54
           </Typography>
54
           </Typography>
55
           <TextField
55
           <TextField
122
             }}
122
             }}
123
           />
123
           />
124
 
124
 
125
-          <Typography variant='body1'>
125
+          <Typography variant='body1' sx={{fontSize:{xs:"0.875rem", sm:"0.875rem", md:"1rem" }}}>
126
             We respect your privacy, so we never share your info.
126
             We respect your privacy, so we never share your info.
127
           </Typography>
127
           </Typography>
128
         </Box>
128
         </Box>

Загрузка…
Отмена
Сохранить