code100x / cms

https://app.100xdevs.com/
871 stars 1.21k forks source link

bug: ceritifcate not centrally aligned #574

Open hkirat opened 3 months ago

hkirat commented 3 months ago

text needs to be in the center for all name lengths

Screenshot 2024-05-12 at 11 32 48 PM
victorchrollo14 commented 3 months ago

does this look fine? or Is the issue talking about something else.

image

Vishvsalvi commented 3 months ago

Bro how did you get to this page? image

Mine is just empty

victorchrollo14 commented 3 months ago

Bro how did you get to this page? image

Mine is just empty

There is a condition that checks, for isCertified variable is true or not, based on that it would pass this data into certificate component, and then the component would render it, right now those values you get from db are set to false, so after retrieving the data, change it to true. Then it will get rendered.

Just backtrack the code from the certificate component, you'll get it.