Refactor layout component to adjust padding and width in ReleaseNotes page

This commit is contained in:
mauro-balades
2024-09-18 00:10:48 +02:00
parent dab1a0e3aa
commit 9f0076e793
3 changed files with 94 additions and 42 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 515 KiB

View File

@@ -20,7 +20,7 @@ export const metadata: Metadata = {
export default function ReleaseNotes() { export default function ReleaseNotes() {
return ( return (
<main className="flex min-h-screen flex-col items-center justify-start"> <main className="flex min-h-screen flex-col items-center justify-start">
<div className="py-42 flex min-h-screen flex-col justify-center px-10 lg:w-4/5 lg:px-0 xl:w-3/5"> <div className="py-42 flex min-h-screen flex-col justify-center px-10 lg:px-24 xl:px-0 2xl:w-3/5">
<h1 className="mt-48 text-4xl font-bold">Release Notes</h1> <h1 className="mt-48 text-4xl font-bold">Release Notes</h1>
<p className="mt-8 text-lg text-muted-foreground"> <p className="mt-8 text-lg text-muted-foreground">
Stay up to date with the latest changes to Zen Browser! Since the{" "} Stay up to date with the latest changes to Zen Browser! Since the{" "}

View File

@@ -836,7 +836,59 @@ export const releaseNotes: ReleaseNote[] = [
issue: 1173 issue: 1173
} }
] ]
} },
{
version: "1.0.1-a.2",
date: "17/09/2024",
image: true,
extra: "This release could be considered a hotfix release for the previous version.\n\nSince we've started doing pretty big UI changes in order to gain more stability, it's normal that we may encounter some bugs... But not that many!\n\nThis release fixes some of the most important bugs that were introduced in the previous version and adds some small improvements.",
features: [
"Added entering animation when creating a new tab",
"Added support for other tab icons such as audio and microphone",
"Added more customization towards rounded borders and padding",
"Newtab button is now colored when expanded",
"MacOS users will have the legacy toolbar location by default",
"Workspaces are disabled on private browsing",
],
fixes: [
{
description: "Fixed padding of buttons when expanding the sidebar",
},
{
description: "Fixed favicon not centered when collapsed",
},
{
description: "Fixed compact mode overlapping the tab bar",
},
{
description: "Fixed fullscreen when entering compact mode",
},
{
description: "Fixed close icon showing on pinned tabs",
},
{
description: "Fixed websites moving when hovering over tabs",
},
{
description: "Removed 'private browsing' text from the toolbar",
},
{
description: "Fixed avatars not being rounded",
},
{
description: "Fixed paddings for personal toolbar",
},
{
description: "Fixed width of the tab not being correct",
},
{
description: "Fixed the tab bar not being visible in fullscreen",
},
{
description: "Sidebar wont interfere with the toolbar anymore in compact mode",
},
],
},
].reverse(); ].reverse();
export function releaseNoteIsAlpha(note: ReleaseNote) { export function releaseNoteIsAlpha(note: ReleaseNote) {