Skip to content

Keep full header title when sidebar is collapsed #168

@KHwong12

Description

@KHwong12

The Issue

When the sidebar is collapsed (setting collapsed = TRUE for shinydashboardPlus::dashboardSidebar), the title in the header is cut off.

Below are two screenshots from the dashboard I am developing for reference.

Cut-off title when sidebar is collapsed

collapsed-sidebar

Full title text when sidebar is expanded

expanded-sidebar

The Question

Is there any way to keep the width of the title always the same as the value of titleWidth, so that the title text will not cut-off?

Additional context

This may be similar to #115. The issue tackles the case when the sidebar is minified (where the sidebar is completely hidden from the UI). I would like to know how to do similar settings when the sidebar is collapsed (where the sidebar still appears as a narrow column with icons on the left).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions