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

FB: ability to align cell content to top/middle/bottom #6706

Open
ebruchez opened this issue Jan 6, 2025 · 2 comments
Open

FB: ability to align cell content to top/middle/bottom #6706

ebruchez opened this issue Jan 6, 2025 · 2 comments

Comments

@ebruchez
Copy link
Collaborator

ebruchez commented Jan 6, 2025

Compare the 2 checkboxes in the screenshot. In the first one, I used CSS to vertically align the content. This should be standard for every control (or cell).

image

This is typical in spreadsheets:

image
@ebruchez
Copy link
Collaborator Author

ebruchez commented Jan 6, 2025

Should the alignment information be associated with the cell, or the control? From a CSS perspective, we probably would have to place a CSS class on the cell.

@ebruchez
Copy link
Collaborator Author

ebruchez commented Jan 8, 2025

For reference, field-align:

  • is on the control
  • places a CSS class on the HTML element at runtime: fr-field-align-right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant