Skip to content

Commit 05d70b6

Browse files
Monil-KTXktx-abhishek
authored andcommitted
fix: add header-list-style class for consistent list styling in header and footer
1 parent 2539342 commit 05d70b6

File tree

4 files changed

+24
-12
lines changed

4 files changed

+24
-12
lines changed

input.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,7 @@ main {
109109
-webkit-text-fill-color: transparent;
110110
background-clip: text;
111111
}
112+
113+
.header-list-style {
114+
list-style: none;
115+
}

overrides/css/output.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,10 @@ video {
944944
gap: 1.5rem;
945945
}
946946

947+
.tw-gap-y-2 {
948+
row-gap: 0.5rem;
949+
}
950+
947951
.tw-space-x-0\.5 > :not([hidden]) ~ :not([hidden]) {
948952
--tw-space-x-reverse: 0;
949953
margin-right: calc(0.125rem * var(--tw-space-x-reverse));
@@ -1555,6 +1559,10 @@ main {
15551559
background-clip: text;
15561560
}
15571561

1562+
.header-list-style {
1563+
list-style: none;
1564+
}
1565+
15581566
.hover\:tw-border-gray-200:hover {
15591567
--tw-border-opacity: 1;
15601568
border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));

overrides/partials/footer.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -764,12 +764,12 @@
764764
<p>3000 Sand Hill Rd Building 1, Suite 260, Menlo Park, CA 94025</p>
765765
</div>
766766
<ul class="tw-flex tw-flex-wrap tw-gap-4 tw-text-xs tw-text-gray-300">
767-
<li class="hover:tw-text-[#7782FF]">
767+
<li class="hover:tw-text-[#7782FF] header-list-style">
768768
<a href="/policies/terms-of-service/" target="_blank"
769769
>Terms of Service</a
770770
>
771771
</li>
772-
<li class="hover:tw-text-[#7782FF]">
772+
<li class="hover:tw-text-[#7782FF] header-list-style">
773773
<a href="/policies/privacy-policy/" target="_blank">Privacy Policy</a>
774774
</li>
775775
</ul>
@@ -915,7 +915,7 @@
915915
</div>
916916
</div>
917917
<li
918-
class="tw-p-2 tw-rounded-lg tw-transition-all tw-duration-200 hover:tw-bg-white hover:tw-bg-opacity-10"
918+
class="tw-p-2 tw-rounded-lg tw-transition-all tw-duration-200 hover:tw-bg-white hover:tw-bg-opacity-10 header-list-style"
919919
>
920920
<a href="https://short.openobserve.ai/community" target="_blank">
921921
<img
@@ -926,7 +926,7 @@
926926
</a>
927927
</li>
928928
<li
929-
class="tw-p-2 tw-rounded-lg tw-transition-all tw-duration-200 hover:tw-bg-white hover:tw-bg-opacity-10"
929+
class="tw-p-2 tw-rounded-lg tw-transition-all tw-duration-200 hover:tw-bg-white hover:tw-bg-opacity-10 header-list-style"
930930
>
931931
<a href="https://twitter.com/OpenObserve" target="_blank">
932932
<img
@@ -937,7 +937,7 @@
937937
</a>
938938
</li>
939939
<li
940-
class="tw-p-2 tw-rounded-lg tw-transition-all tw-duration-200 hover:tw-bg-white hover:tw-bg-opacity-10"
940+
class="tw-p-2 tw-rounded-lg tw-transition-all tw-duration-200 hover:tw-bg-white hover:tw-bg-opacity-10 header-list-style"
941941
>
942942
<a
943943
href="https://www.linkedin.com/company/openobserve"
@@ -951,7 +951,7 @@
951951
</a>
952952
</li>
953953
<li
954-
class="tw-p-2 tw-rounded-lg tw-transition-all tw-duration-200 hover:tw-bg-white hover:tw-bg-opacity-10"
954+
class="tw-p-2 tw-rounded-lg tw-transition-all tw-duration-200 hover:tw-bg-white hover:tw-bg-opacity-10 header-list-style"
955955
>
956956
<a href="https://github.com/openobserve/openobserve" target="_blank">
957957
<img
@@ -962,7 +962,7 @@
962962
</a>
963963
</li>
964964
<li
965-
class="tw-p-2 tw-rounded-lg tw-transition-all tw-duration-200 hover:tw-bg-white hover:tw-bg-opacity-10"
965+
class="tw-p-2 tw-rounded-lg tw-transition-all tw-duration-200 hover:tw-bg-white hover:tw-bg-opacity-10 header-list-style"
966966
>
967967
<a href="https://www.youtube.com/@openobserve" target="_blank">
968968
<img
@@ -1063,7 +1063,7 @@
10631063
<div class="tw-text-white tw-font-medium tw-text-base tw-mb-3">${
10641064
section.title
10651065
}</div>
1066-
<ul class="tw-space-y-2 tw-text-gray-300 tw-text-xs">
1066+
<ul class="tw-space-y-2 tw-text-gray-300 tw-text-xs header-list-style">
10671067
${section.items
10681068
.map(
10691069
(item) => `<li class="hover:tw-text-[#7782FF]">

overrides/partials/header.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</a>
1717
<nav>
1818
<ul
19-
class="tw-flex tw-items-center tw-space-x-0.5 tw-w-full tw-font-semibold tw-text-[17px]"
19+
class="tw-flex tw-items-center tw-space-x-0.5 tw-w-full tw-font-semibold tw-text-[17px] header-list-style"
2020
>
2121
<!-- PLATFORM -->
2222
<li class="tw-group tw-relative">
@@ -31,7 +31,7 @@
3131
class="tw-absolute tw-left-1/2 tw--translate-x-1/2 tw-top-full tw-mt-2 tw-w-[660px] tw-p-5 tw-bg-white tw-rounded-lg tw-border-2 tw-border-gray-300 tw-shadow-lg tw-hidden group-hover:tw-flex"
3232
>
3333
<ul
34-
class="tw-space-y-2 tw-grid tw-grid-cols-3 tw-text-[14px] tw-text-gray-500 tw-w-full"
34+
class="tw-gap-y-2 tw-grid tw-grid-cols-3 tw-text-[14px] tw-text-gray-500 tw-w-full header-list-style"
3535
>
3636
<li class="hover:tw-text-black">
3737
<a href="/logs/">Logs</a>
@@ -73,7 +73,7 @@
7373
class="tw-absolute tw-left-1/2 tw--translate-x-1/2 tw-top-full tw-mt-2 tw-w-[430px] tw-p-5 tw-bg-white tw-rounded-lg tw-border-2 tw-border-gray-300 tw-shadow-lg tw-hidden group-hover:tw-flex group-hover:tw-flex-wrap group-hover:tw-gap-x-8 group-hover:tw-gap-y-4"
7474
>
7575
<ul
76-
class="tw-space-y-2 tw-grid tw-grid-cols-2 tw-text-[14px] tw-text-gray-500 tw-w-full"
76+
class="tw-gap-y-2 tw-grid tw-grid-cols-2 tw-text-[14px] tw-text-gray-500 tw-w-full header-list-style"
7777
>
7878
<li class="hover:tw-text-black">
7979
<a href="/aws-monitoring/">AWS Monitoring</a>
@@ -110,7 +110,7 @@
110110
class="tw-absolute tw-left-1/2 tw--translate-x-1/2 tw-top-full tw-mt-2 tw-w-[450px] tw-p-5 tw-bg-white tw-rounded-lg tw-border-2 tw-border-gray-300 tw-shadow-lg tw-hidden group-hover:tw-flex group-hover:tw-flex-wrap group-hover:tw-gap-x-8 group-hover:tw-gap-y-4"
111111
>
112112
<ul
113-
class="tw-space-y-2 tw-grid tw-grid-cols-2 tw-text-[14px] tw-text-gray-500 tw-w-full"
113+
class="tw-gap-y-2 tw-grid tw-grid-cols-2 tw-text-[14px] tw-text-gray-500 tw-w-full header-list-style"
114114
>
115115
<li class="hover:tw-text-black">
116116
<a href="/docs" target="_blank">Documentation</a>

0 commit comments

Comments
 (0)