mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
[PR #1279] [MERGED] Override section header icon self alignment to centre #1291
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1279
Author: @sebygreen
Created: 4/19/2025
Status: ✅ Merged
Merged: 4/23/2025
Merged by: @lancepioch
Base:
main← Head:change/admin-dashboard-widget-icon-alignment📝 Commits (1)
b072235Change section header icon self alignment to centre📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
resources/css/app.css(+4 -0)📄 Description
greetings,
i'm assuming this cosmetic change is not important right now for you, so i have permitted myself to suggest a modification directly.
i see that so far, most filament section headers in the panel with an icon only have a title, rather than both a title and a description. the default behaviour for section header icons is to
align-self: start. with the title only being one line, the icon appears off centre with the rest of the vertically aligned header items when there is an action on the right.example:

according to the filament docs, i have added an override to
app.cssfor section header icons to be centred vertically. this is a forced rule, but it seems more appropriate with the panels current usage of headers and icons.after:

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.