Skip to content

Commit c1cf334

Browse files
aravindputrevugithub-actions[bot]ankitjena
authored
Update CSS for navbar item visibility and font size (#204)
* nav bar ui fix * 🎨 pnpm run lint:fix [dependabot skip] * remove unnecessary styles, add media query --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: ankitjena <[email protected]>
1 parent 3e8ec95 commit c1cf334

File tree

1 file changed

+13
-26
lines changed

1 file changed

+13
-26
lines changed

src/css/custom.css

+13-26
Original file line numberDiff line numberDiff line change
@@ -90,19 +90,6 @@ a[docid="docs"] > svg {
9090
align-items: center;
9191
}
9292

93-
@media screen and (max-width: 480px) {
94-
a.navbar__item.navbar__link[docid="docs"] {
95-
display: none !important;
96-
}
97-
}
98-
99-
@media screen and (max-width: 480px) {
100-
a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"]
101-
{
102-
display: none;
103-
}
104-
}
105-
10693
[data-theme="light"] img[src$="#gh-dark-mode-only"],
10794
[data-theme="dark"] img[src$="#gh-light-mode-only"] {
10895
display: none;
@@ -157,19 +144,6 @@ a[docid="docs"] > svg {
157144
align-items: center;
158145
}
159146

160-
@media screen and (max-width: 480px) {
161-
a.navbar__item.navbar__link[docid="docs"] {
162-
display: none !important;
163-
}
164-
}
165-
166-
@media screen and (max-width: 480px) {
167-
a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"]
168-
{
169-
display: none;
170-
}
171-
}
172-
173147
/* Light mode Discord icon */
174148
/* .header-discord-link:before {
175149
-webkit-filter: invert(100%);
@@ -303,3 +277,16 @@ a[docid="docs"] > svg {
303277
.center-image {
304278
text-align: center;
305279
}
280+
281+
@media screen and (max-width: 480px) {
282+
a.navbar__item.navbar__link[href="/"] {
283+
display: none;
284+
}
285+
}
286+
287+
@media screen and (max-width: 480px) {
288+
a.navbar__item.navbar__link[href="https://coderabbit.ai/blog"]
289+
{
290+
display: none;
291+
}
292+
}

0 commit comments

Comments
 (0)