File tree 1 file changed +23
-2
lines changed
1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,33 @@ a[docid="docs"] > svg {
48
48
@media (max-width : 768px ) {
49
49
/* Reduce the logo size for smaller screens */
50
50
.navbar__logo img {
51
- height : 16px ; /* Adjust the height for smaller screens */
51
+ height : 32px ;
52
+ align-items : center;
52
53
}
53
54
54
55
/* Reduce the padding around the logo for smaller screens */
55
56
.navbar__logo {
56
- padding : 6px ; /* Adjust the padding for smaller screens */
57
+ padding : 2px ; /* Adjust the padding for smaller screens */
58
+ }
59
+ }
60
+
61
+ /* Center the Discord link within its parent */
62
+ .navbar__items .navbar__items--right {
63
+ display : flex;
64
+ justify-content : center;
65
+ align-items : center;
66
+ }
67
+
68
+ @media screen and (max-width : 480px ) {
69
+ a .navbar__item .navbar__link [docid = "docs" ] {
70
+ display : none !important ;
71
+ }
72
+ }
73
+
74
+ @media screen and (max-width : 480px ) {
75
+ a .navbar__item .navbar__link [href = "https://blog.coderabbit.ai/blog" ]
76
+ {
77
+ display : none;
57
78
}
58
79
}
59
80
You can’t perform that action at this time.
0 commit comments