Skip to content

Commit a82e324

Browse files
committed
styling update
1 parent d5f2a20 commit a82e324

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

src/components/changelog/Header.astro

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,22 @@ const products = await uniqueProducts(notes);
3434
>
3535
<div class="text-center sm:text-left">
3636
<h1>Changelog</h1>
37-
<p>
38-
New updates and improvements at Cloudflare.
39-
<br />
37+
<p>New updates and improvements at Cloudflare.</p>
38+
<div class="changelog-rss-links">
4039
<a
4140
href="/changelog/rss/index.xml"
4241
class="dark:!hover:text-[#79B1FF] -mx-2 whitespace-nowrap px-2 text-[#056DFF] no-underline hover:rounded-[4px] hover:bg-[#DCEBFF] hover:!text-[#056DFF] dark:text-[#79B1FF] dark:hover:bg-[#002B66] max-sm:block"
4342
>
4443
Subscribe to RSS
4544
<StarlightIcon name="rss" size="18px" class="!inline align-text-top" />
4645
</a>
47-
&nbsp;&nbsp;<strong>|</strong>&nbsp;&nbsp;
4846
<a
4947
href="/fundamentals/new-features/available-rss-feeds/"
5048
class="dark:!hover:text-[#79B1FF] -mx-2 whitespace-nowrap px-2 text-[#056DFF] no-underline hover:rounded-[4px] hover:bg-[#DCEBFF] hover:!text-[#056DFF] dark:text-[#79B1FF] dark:hover:bg-[#002B66] max-sm:block"
5149
>
5250
View all RSS feeds &gt;
5351
</a>
54-
</p>
52+
</div>
5553
{
5654
products.length > 0 && (
5755
<div>
@@ -83,4 +81,16 @@ const products = await uniqueProducts(notes);
8381
padding-top: 0 !important;
8482
overflow-x: hidden;
8583
}
84+
85+
.changelog-rss-links {
86+
display: flex;
87+
justify-content: space-between;
88+
margin-top: 0.25em !important;
89+
}
90+
91+
@media (max-width: 640px) {
92+
.changelog-rss-links {
93+
flex-direction: column;
94+
}
95+
}
8696
</style>

0 commit comments

Comments
 (0)