Skip to content

Commit daa6405

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

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

input.css

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

overrides/css/output.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ legend {
460460
ol,
461461
ul,
462462
menu {
463-
list-style: none;
463+
/* list-style: none; */
464464
margin: 0;
465465
padding: 0;
466466
}
@@ -1555,6 +1555,12 @@ main {
15551555
background-clip: text;
15561556
}
15571557

1558+
.header-list-style {
1559+
list-style: none;
1560+
margin: 0;
1561+
padding: 0;
1562+
}
1563+
15581564
.hover\:tw-border-gray-200:hover {
15591565
--tw-border-opacity: 1;
15601566
border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));

overrides/partials/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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-space-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-space-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-space-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)