Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent sort icon from breaking table headers #746

Merged

Conversation

Arnei
Copy link
Member

@Arnei Arnei commented Jun 26, 2024

Applies flexbox to table headers to keep table header contents from line breaking. This is supposed to help with cases where the title would be on one line and the sort icon on the next, wasting space and looking quite bad.

Includes #744, so that should be merged first.

Before:
Bildschirmfoto vom 2024-06-26 16-02-36

After:
Bildschirmfoto vom 2024-06-26 16-02-58

Arnei added 3 commits June 26, 2024 15:17
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.
Applies flexbox to table headers to keep table
header contents from line breaking. This is
supposed to help with cases where the title
would be on one line and the sort icon on the next,
wasting space and looking quite bad.
@Arnei Arnei added the type:bug Something isn't working label Jun 26, 2024
Copy link
Contributor

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-746

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-746

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.

Copy link
Contributor

This pull request is deployed at test.admin-interface.opencast.org/746/2024-06-26_14-04-10/ .
It might take a few minutes for it to become available.

@lkiesow lkiesow self-assigned this Jul 1, 2024
@lkiesow lkiesow merged commit d140739 into opencast:main Jul 2, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants