Skip to content

Conversation

ernstmul
Copy link
Contributor

@ernstmul ernstmul commented Jun 2, 2025

What does this PR do?

Remove the unwanted padding when not on a project related page.

Before (watch the footer padding):
image

After:
image

Have you read the Contributing Guidelines on issues?

@ernstmul ernstmul requested a review from ItzNotABug June 2, 2025 06:17
$: state = $isSidebarOpen ? 'open' : 'closed';
let isProjectPage;
$: isProjectPage = $page.route.id.includes('project-');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
$: isProjectPage = $page.route.id.includes('project-');
$: isProjectPage = $page.route?.id.includes('project-');

its nullable type so just in case.

@ernstmul ernstmul merged commit 5ec7f63 into main Jun 2, 2025
2 checks passed
@ernstmul ernstmul deleted the fix/remove-icons-sidebar-padding branch June 2, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants