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

40k: mobile layout for datasheets #179

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Conversation

mardanbeigi
Copy link
Contributor

No description provided.

Start fixing mobile UI:
 - don't set width on datasheets, so they fill the entire width
 - abbreviate profile header titles like "Ranged Weapon" -> "Range"; this will save some horizontal space
 - switch keywords into flex (instead of table cells), and render on two lines in mobile

Still to do
 - move weapon keywords to second row, since right now there's not enough room to have the entire weapon profile on one line
 - force single column on mobile
 - support mobile printing without using mobile UI
Update weapon profile tables to support mobile UI:
- switch from table to flex
- in mobile UI, move the keywords column to a second row for weapons
- if there are no keywords (or if it's '-'), it won't be shown
- force single column on mobile
- support mobile printing without using mobile UI
@rweyrauch rweyrauch merged commit 0cb8b88 into rweyrauch:master Nov 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants