File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
components/article-preview Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1+ import React from 'react'
2+
3+ import { rem } from 'polished'
14import { string } from 'prop-types'
25import styled from 'styled-components'
36
@@ -25,9 +28,14 @@ const Root = styled.div`
2528 h3 {
2629 font-size: 1rem;
2730 font-weight: 700;
28- line-height: 1.625rem;
29- margin: 1.25rem 0px;
31+ line-height: ${ rem ( '21px' ) } ;
32+ height: 4rem;
33+ margin: 1.25rem 0;
3034 text-align: center;
35+
36+ @media only screen and (max-width: ${ MOBILE_SIZE } ) {
37+ height: auto;
38+ }
3139 }
3240
3341 p {
Original file line number Diff line number Diff line change 1- @import url ('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;700;900&family=Montserrat:wght@500;600;700;800&display=swap' );
1+ @import url ('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600; 700;900&family=Montserrat:wght@500;600;700;800&display=swap' );
22
33html ,
44body {
You can’t perform that action at this time.
0 commit comments