-
Notifications
You must be signed in to change notification settings - Fork 111
Open
Labels
Description
Description
cols_label_rotate does not work on Safari. Screenshot below.
Chrome renders fine.
Development environment
- Operating System: MacOS 15.7.1 (also tested on iPhone)
- Browser: Safari v. 26.0.1
- great_tables Version: v0.18.0
Additional context
Probably related to https://stackoverflow.com/a/79481681.
Wrapping the header labels in a span element and applying the writing mode to that seems to work in both Safari and Chrome.
The change in the output would be from
<th ... style="writing-mode: sideways-lr; vertical-align: middle; text-align: left; padding: 8px 0px;">High Power</th>to
<th ... style="text-align: left; padding: 8px 0px;"><span style="writing-mode: sideways-lr; vertical-align: middle; height: max-content;">High Power</span></th>Not sure if solving Safari specific issues makes sense.