meshery / meshery.io

Website for Meshery
https://meshery.io
Apache License 2.0
459 stars 539 forks source link

[UI] Programs Page #1730

Closed psankhe28 closed 1 month ago

psankhe28 commented 2 months ago

Description

On hovering the cards, the text is not properly aligned. It can be seen in the below video:

Vid1

Expected Behavior

Vid2

Enviroment:


Contributor Guides and Handbook

The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

ritiksaxena124 commented 2 months ago

Thank you @psankhe28 for opening up an issue for this. I was thinking if we should keep the position of the text at the bottom-left and the text decoration be left-align or the position of the text be bottom-center and the text-decoration be center because if we are positioning the text at the center both vertically and horizontally as you have shown in expected behavior video then the text LFX and MLH is not quite visible.

psankhe28 commented 2 months ago

Should I proceed with the left-aligned version or the centered one?

ritiksaxena124 commented 2 months ago

text-decoration: center; will work better in my opinion because other 3 cards (from start) are center aligned.

psankhe28 commented 2 months ago

Should I make a PR with the change?

ritiksaxena124 commented 2 months ago

Go ahead