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 @@ -115,12 +115,33 @@ a[docid="docs"] > svg {
115
115
@media (max-width : 768px ) {
116
116
/* Reduce the logo size for smaller screens */
117
117
.navbar__logo img {
118
- height : 16px ; /* Adjust the height for smaller screens */
118
+ height : 32px ;
119
+ align-items : center;
119
120
}
120
121
121
122
/* Reduce the padding around the logo for smaller screens */
122
123
.navbar__logo {
123
- padding : 6px ; /* Adjust the padding for smaller screens */
124
+ padding : 2px ; /* Adjust the padding for smaller screens */
125
+ }
126
+ }
127
+
128
+ /* Center the Discord link within its parent */
129
+ .navbar__items .navbar__items--right {
130
+ display : flex;
131
+ justify-content : center;
132
+ align-items : center;
133
+ }
134
+
135
+ @media screen and (max-width : 480px ) {
136
+ a .navbar__item .navbar__link [docid = "docs" ] {
137
+ display : none !important ;
138
+ }
139
+ }
140
+
141
+ @media screen and (max-width : 480px ) {
142
+ a .navbar__item .navbar__link [href = "https://blog.coderabbit.ai/blog" ]
143
+ {
144
+ display : none;
124
145
}
125
146
}
126
147
You can’t perform that action at this time.
0 commit comments