Skip to content

Conversation

dfsmania
Copy link
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

Copy link

netlify bot commented Jul 25, 2025

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
Copy link
Contributor Author

dfsmania commented Jul 25, 2025

@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)...

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