File tree Expand file tree Collapse file tree 5 files changed +32
-2
lines changed Expand file tree Collapse file tree 5 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,12 @@ import { theme } from 'core/theme';
3
3
const { typography, spacing, palette } = theme ;
4
4
5
5
export const mainContainer = css `
6
- width : 80 % ;
6
+ width : 60 % ;
7
7
margin : ${ spacing ( 80 ) } auto;
8
+
9
+ @media (max-width : 728px ) {
10
+ width : 80% ;
11
+ }
8
12
` ;
9
13
10
14
export const studentBoard = css `
Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ export const inputIconContainer = css`
30
30
31
31
export const textArea = css `
32
32
font-family : ${ typography . fontFamily } ;
33
+ min-width : 0 ;
33
34
color : ${ palette . text . primary } ;
35
+ margin-right : 0 ;
34
36
border : 2px solid # ccc ;
35
37
border-top-left-radius : 0.4rem ;
36
38
border-bottom-left-radius : 0.4rem ;
@@ -46,11 +48,18 @@ export const textArea = css`
46
48
& ::selection {
47
49
background : # ccc ;
48
50
}
49
- margin-right : 0% ;
51
+
52
+ @media (max-width : 380px ) {
53
+ font-size : 14px ;
54
+ padding : 16px ;
55
+ }
50
56
` ;
51
57
52
58
export const copyIcon = css `
53
59
font-size : 30px ;
60
+ @media (max-width : 380px ) {
61
+ font-size : 26px ;
62
+ }
54
63
` ;
55
64
56
65
export const copyBtn = css `
@@ -71,4 +80,9 @@ export const copyBtn = css`
71
80
& : active {
72
81
background-color : # fff ;
73
82
}
83
+
84
+ @media (max-width : 380px ) {
85
+ height : 52px ;
86
+ width : 52px ;
87
+ }
74
88
` ;
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ export const labelTextarea = css`
17
17
export const editTextArea = css `
18
18
box-sizing : border-box;
19
19
font-size : 16px ;
20
+ white-space : nowrap;
20
21
width : 100% ;
21
22
margin-bottom : ${ spacing ( 20 ) } ;
22
23
margin-top : ${ spacing ( 10 ) } ;
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export const studentBoard = css`
11
11
box-sizing : border-box;
12
12
font-size : 16px ;
13
13
width : 100% ;
14
+ white-space : nowrap;
14
15
margin-bottom : ${ spacing ( 10 ) } ;
15
16
margin-top : ${ spacing ( 10 ) } ;
16
17
padding : ${ spacing ( 16 ) } ;
@@ -54,6 +55,9 @@ export const sendBtn = css`
54
55
export const sendIcon = css `
55
56
font-size : 20px ;
56
57
margin-left : 10px ;
58
+ @media (max-width : 380px ) {
59
+ display : none;
60
+ }
57
61
` ;
58
62
59
63
export const undoBtn = css `
@@ -80,6 +84,9 @@ export const undoBtn = css`
80
84
export const undoIcon = css `
81
85
font-size : 20px ;
82
86
margin-right : 10px ;
87
+ @media (max-width : 380px ) {
88
+ display : none;
89
+ }
83
90
` ;
84
91
85
92
export const labelTextarea = css `
Original file line number Diff line number Diff line change @@ -11,4 +11,8 @@ export const backgroundContainer = css`
11
11
export const content = css `
12
12
width : 60% ;
13
13
margin : 0px auto 0 auto;
14
+
15
+ @media (max-width : 728px ) {
16
+ width : 80% ;
17
+ }
14
18
` ;
You can’t perform that action at this time.
0 commit comments