opencast / opencast-admin-interface

A modern admin user interface for Opencast
https://admin-interface.opencast.org/
Educational Community License v2.0
1 stars 22 forks source link

Don't word wrap on table headers #744

Open Arnei opened 4 days ago

Arnei commented 4 days ago

We're currently applying arbitrary word-wrapping to our table cells to keep very long strings from overflowing. This can cause some columns to get very little width in certain cases. This removes word-wrapping from table headers to rectify that issue. Table header contents are controlled by us and should not be terribly long either way, so in my opinion this is fine.

I checked for a couple different languages and they looked fine to me, but if someone thinks that this is not feasible for a certain language please do speak up.

Before: Bildschirmfoto vom 2024-06-26 15-18-33

After: Bildschirmfoto vom 2024-06-26 15-19-07

github-actions[bot] commented 4 days ago

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 ghcr.io/opencast/opencast-admin-interface:pr-744

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org ghcr.io/opencast/opencast-admin-interface:pr-744

It may take a few seconds for the interface to spin up. It will then be available at http://127.0.0.1:3000. For more options you can pass on to the proxy, take a look at the README.md.

github-actions[bot] commented 4 days ago

This pull request is deployed at test.admin-interface.opencast.org/744/2024-06-26_13-25-21/ . It might take a few minutes for it to become available.