File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
src/components/contribution_map Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1717}
1818
1919.contribution-map-container {
20- width : 80% ; /* Set width to 80% for consistent margin with the rest of the components */
21- margin : 0 auto ;
20+ width : 80% ; /* Keep the width consistent with other components */
21+ margin : 0 auto ; /* Center the entire container */
2222 padding : 20px 0 ;
2323 color : #fff ;
2424 font-family : ' RobotoMono' , sans-serif ;
2727 margin-top : 40px ;
2828 display : flex ;
2929 flex-direction : column ;
30- align-items : center ; /* Center everything except the header */
30+ align-items : center ; /* Center all content except the header */
3131 color : #fff ;
3232
3333 h2 {
3636 color : #fff ;
3737 font-family : ' RobotoMono' , sans-serif ;
3838 text-align : left ;
39- align-self : flex-start ; /* Keep the header aligned to the left */
39+ align-self : flex-start ; /* Ensure the header stays aligned to the left */
4040 width : 100% ;
4141 }
4242
4343 .react-github-calendar {
44- width : 100% ;
44+ width : 100% ; /* Make the contribution graph take up full width */
4545 display : flex ;
46- justify-content : center ; /* Center the contribution graph */
47- overflow-x : auto ; /* Allows horizontal scroll if the graph overflows */
46+ justify-content : center ; /* Center the contribution graph itself */
47+ overflow-x : auto ; /* Enable horizontal scrolling if content overflows */
4848 }
4949
5050 .calendar-wrapper {
51- width : 100% ;
51+ width : 100% ; /* The graph wrapper takes the full width */
5252 display : flex ;
53- justify-content : center ; /* Center the content within the wrapper */
53+ justify-content : center ; /* Center the contents inside the wrapper */
5454 }
5555 }
5656}
You can’t perform that action at this time.
0 commit comments