File tree 3 files changed +35
-14
lines changed
3 files changed +35
-14
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
layout : minimal
3
3
content :
4
- width : 80 %
4
+ width : 90 %
5
5
horizontalPadding : 0px
6
6
---
7
7
Original file line number Diff line number Diff line change @@ -29,17 +29,7 @@ const GroupedList = () => {
29
29
{ categories . map ( ( category , index ) => (
30
30
< div
31
31
key = { index }
32
- style = { {
33
- width : '100%' ,
34
- color : 'white' ,
35
- background : category . color ,
36
- padding : '10px' ,
37
- margin : '5px' ,
38
- 'margin-bottom' : '25px' ,
39
- cursor : 'pointer' ,
40
- display : 'inline-block' ,
41
- borderRadius : '5px' ,
42
- } }
32
+ className = "category-box"
43
33
>
44
34
< div
45
35
style = { {
Original file line number Diff line number Diff line change 19
19
align-items : center;
20
20
}
21
21
22
+ .vertical-timeline-element {
23
+ width : 100% ;
24
+ }
25
+
22
26
.vertical-timeline-element-title {
23
27
font-size : 18px ;
24
28
}
49
53
.two-column-layout {
50
54
display : flex; /* Use flexbox for a simple two-column layout */
51
55
justify-content : space-between;
56
+ flex-wrap : wrap;
52
57
}
53
58
54
59
.main-content {
55
60
flex : 1 ; /* Take up remaining space in the container */
61
+ /*margin-right: 50px;*/
56
62
margin-right : 50px ;
63
+ min-width : 350px ;
64
+ }
65
+
66
+ @media only screen and (max-width : 600px ) {
67
+ .main-content {
68
+ flex : 1 ; /* Take up remaining space in the container */
69
+ margin-right : 0px ;
70
+ }
71
+ /* .category-box {
72
+ max-width: 60%; /* Adjust this value as needed */
73
+ /*}
74
+ */
57
75
}
58
76
59
77
.sidebarcv {
60
- margin-right : -150px ;
61
- width : 200px ; /* Adjust the width of the sidebar as needed */
78
+ margin-right : 0px ;
79
+ width : '100%' ; /* Adjust the width of the sidebar as needed */
80
+ flex-basis : 300px ; /* Set the width of the sidebar */
62
81
/* Add any other styling for the sidebar */
63
82
}
64
83
84
+ .category-box {
85
+ width : 100% ;
86
+ color : white;
87
+ background : rgb (44 , 62 , 80 );
88
+ padding : 10px ;
89
+ margin : 5px ;
90
+ margin-bottom : 25px ;
91
+ cursor : pointer;
92
+ display : inline-block;
93
+ borderRadius : 5px ;
94
+ box-sizing : border-box;
95
+ }
You can’t perform that action at this time.
0 commit comments