Skip to content

Commit 8844a86

Browse files
authored
Merge pull request #59 from AcneLog/dev
dev to Main [나의 진단로그 상세페이지, 아크네 진단페이지 반응형 처리]
2 parents 27fc92a + 328fe8b commit 8844a86

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/pages/Diagnosispage/Diagnosis.styles.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from 'styled-components';
2-
2+
import { breakpoints } from '../../styles/theme';
33
export const UploadBox = styled.div`
44
width: 100%;
55
padding: 1.5rem;
@@ -96,4 +96,9 @@ export const ActionButton = styled.button<{ $primary?: boolean }>`
9696
opacity: ${(props) => (props.disabled ? 0.5 : 1)};
9797
margin-bottom: 6.25rem;
9898
font-size: 1rem;
99+
white-space: nowrap;
100+
@media (max-width: ${breakpoints.mobile}) {
101+
padding: 0.8rem 1.5rem;
102+
font-size: 0.8rem;
103+
}
99104
`;

src/pages/MyLog/MyLogDetail.styles.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from 'styled-components';
2-
2+
import { breakpoints } from '../../styles/theme';
33
export const CloseButton = styled.div`
44
width: 100%;
55
display: flex;
@@ -133,14 +133,17 @@ export const RecommendSection = styled.section`
133133
color: gray;
134134
}
135135
`;
136-
137136
export const CustomRadio = styled.label`
138137
display: inline-flex;
139138
align-items: center;
140139
cursor: pointer;
141140
margin-right: 1rem;
142141
gap: 0.5rem;
143-
142+
white-space: nowrap;
143+
@media (max-width: ${breakpoints.mobile}) {
144+
gap: 0.2rem;
145+
font-size: 0.9rem;
146+
}
144147
input[type='radio'] {
145148
appearance: none;
146149
-webkit-appearance: none;

0 commit comments

Comments
 (0)