Skip to content

Improve heading style for sidebar - #5879

Merged
puikinsh merged 1 commit into
ColorlibHQ:masterfrom
dfsmania:improve_sidebar_headings
Nov 7, 2025
Merged

Improve heading style for sidebar#5879
puikinsh merged 1 commit into
ColorlibHQ:masterfrom
dfsmania:improve_sidebar_headings

Conversation

@dfsmania

Copy link
Copy Markdown
Contributor

This pull request addresses a UI issue where very long headings in the sidebar component overflow their container, breaking the layout.

Problem

Currently, if a heading label is too long, it extends beyond the sidebar boundaries due to missing style constraints—unlike sidebar links, which are properly contained.

Screenshot 2025-07-25 at 18-54-57 AdminLTE 4 Sidebar Mini

Solution

To resolve this, we apply the same CSS properties used for link elements, such as text overflow handling, to heading elements. This ensures long headings are truncated or wrapped appropriately, maintaining the sidebar's layout integrity.

Screenshot 2025-07-25 at 18-50-39 AdminLTE v4 Dashboard

@netlify

netlify Bot commented Jul 25, 2025

Copy link
Copy Markdown

Deploy Preview for adminlte-v4 ready!

Name Link
🔨 Latest commit 6bf2e9a
🔍 Latest deploy log https://app.netlify.com/projects/adminlte-v4/deploys/6883fd9be0ede400082ea910
😎 Deploy Preview https://deploy-preview-5879--adminlte-v4.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@dfsmania

dfsmania commented Jul 25, 2025

Copy link
Copy Markdown
Contributor Author

@puikinsh @danny007in Can you please review these changes. I'm trying to handle headings like links are handled in the sidebar, since I faced some display issues while using them (mostly when enabling sidebar-mini)...

@puikinsh
puikinsh merged commit 8ce5660 into ColorlibHQ:master Nov 7, 2025
10 checks passed
@dfsmania
dfsmania deleted the improve_sidebar_headings branch November 7, 2025 13:47
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.

1 participant