Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions articles/components/dashboard/styling.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,17 @@
Remove button:: `vaadin-dashboard-widget+++<wbr>+++**::part(remove-button)**`
Resize handle / button:: `vaadin-dashboard-widget+++<wbr>+++**::part(resize-button)**`

==== Wrapping Widget Titles

By default, widget titles do not wrap if they overflow the width of the widget, but are simply truncated with ellipsis. Widget titles can be configured to wrap using the following CSS:

Check warning on line 108 in articles/components/dashboard/styling.adoc

View workflow job for this annotation

GitHub Actions / lint

[vale] reported by reviewdog 🐶 [Vaadin.JustSimply] Avoid using 'simply'. It may be insensitive. Raw Output: {"message": "[Vaadin.JustSimply] Avoid using 'simply'. It may be insensitive.", "location": {"path": "articles/components/dashboard/styling.adoc", "range": {"start": {"line": 108, "column": 89}}}, "severity": "WARNING"}

[source,css]
----
vaadin-dashboard-widget::part(title) {
white-space: unset;
text-overflow: unset;
}
----

=== Sections

Expand Down
Loading