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

Expand the Limited Uses Maximum field for better visibility #1867

Closed
MaxPat931 opened this issue Oct 11, 2022 · 2 comments
Closed

Expand the Limited Uses Maximum field for better visibility #1867

MaxPat931 opened this issue Oct 11, 2022 · 2 comments
Assignees
Labels
ui User interface related features or bugs
Milestone

Comments

@MaxPat931
Copy link
Contributor

The Maximum Uses field is too small to view attribute references, if used
image

Messing around in the Elements (I know nothing of css) changing .dnd5e.sheet.item .details .form-group.uses-per input to {flex: 1;} is a bit better
image

but it may be more desirable to differentiate the text Max Uses field from the number Available Uses and Resource Consumption fields also controlled by .dnd5e.sheet.item .details .form-group.uses-per input so that just this field can be expanded, leaving those a bit smaller
image

@krbz999
Copy link
Contributor

krbz999 commented Oct 11, 2022

Just changing this line seems to get the desired result.
.dnd5e.sheet.item .details .form-group.uses-per input[type=number] (just adding the type).
https://github.com/foundryvtt/dnd5e/blob/master/dnd5e.css#L1620

image

@arbron arbron added the ui User interface related features or bugs label Oct 11, 2022
@arbron
Copy link
Collaborator

arbron commented Oct 11, 2022

I have a PR I'm working on that does some other changes to these inputs, so I might throw this in with that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui User interface related features or bugs
Projects
None yet
Development

No branches or pull requests

4 participants