category.scss
1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
@import './shared.scss';
.category-table-container {
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: center;
.ant-table {
border-radius: $border_radius;
overflow: hidden;
.ant-table-title {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 4px;
@media screen and (max-width: $medium_smart_phone_width) {
h2 {
font-size: 14px;
}
}
}
tr {
@media screen and (max-width: $small_tablet_width) {
.ant-table-cell:nth-child(3) {
display: none;
}
}
@media screen and (max-width: $medium_smart_phone_width) {
.ant-table-cell:nth-child(1) {
display: none;
}
.ant-table-cell:nth-child(2) {
width: 100%;
}
}
@media screen and (max-width: $small_smart_phone_width) {
.ant-table-cell:nth-child(2) {
font-size: 12px;
}
.ant-table-cell:nth-child(4) {
font-size: 11px;
}
}
}
}
}