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

fix: Center dashboard list items when there is no subtext #5271

Merged
merged 1 commit into from Feb 20, 2024

Conversation

juliushaertl
Copy link
Contributor

@juliushaertl juliushaertl commented Feb 20, 2024

If we have no subtext the title shall be centered to the image

πŸ–ΌοΈ Screenshots

🏚️ Before 🏑 After
Screenshot 2024-02-20 at 18 45 46 Screenshot 2024-02-20 at 18 45 24

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • πŸ“˜ Component documentation has been extended, updated or is not applicable
  • 3️⃣ Backport to next requested with a Vue 3 upgrade

Signed-off-by: Julius HΓ€rtl <jus@bitgrid.net>
@juliushaertl juliushaertl added bug Something isn't working 3. to review Waiting for reviews feature: dashboard Related to the dashboard widget labels Feb 20, 2024
@susnux
Copy link
Contributor

susnux commented Feb 20, 2024

Makes sense, but what if one element has subtext an the others not?

@susnux susnux added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 20, 2024
@juliushaertl
Copy link
Contributor Author

Also works the way of aligning works as before with the flex layout just that we center within the minimum height.

@juliushaertl juliushaertl merged commit 5df2af7 into master Feb 20, 2024
18 checks passed
@juliushaertl juliushaertl deleted the fix/center-dashboard-entry branch February 20, 2024 20:42
@juliushaertl
Copy link
Contributor Author

/backport to next

@susnux
Copy link
Contributor

susnux commented Feb 20, 2024

Also works the way of aligning works as before with the flex layout just that we center within the minimum height.

No I meant it more like if it makes sense to only align centered if all elements have no sub text.

@Antreesy Antreesy added this to the 8.7.1 milestone Feb 21, 2024
@Antreesy Antreesy mentioned this pull request Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish bug Something isn't working feature: dashboard Related to the dashboard widget
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants