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

Added card component #364

Merged
merged 6 commits into from
May 21, 2024
Merged

Added card component #364

merged 6 commits into from
May 21, 2024

Conversation

lghiur
Copy link
Member

@lghiur lghiur commented May 20, 2024

No description provided.

Copy link

netlify bot commented May 20, 2024

Deploy Preview for nifty-johnson-6002dd ready!

Name Link
🔨 Latest commit d959be5
🔍 Latest deploy log https://app.netlify.com/sites/nifty-johnson-6002dd/deploys/664c587fcbfaa60008c43ee3
😎 Deploy Preview https://deploy-preview-364--nifty-johnson-6002dd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

&__title {
font-family: $font-inter-bold;
font-size: $lg-font-size;
display: box;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to look for the box value but it doesn't seem to exist. I think it should be display: flex; instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

font-family: $font-inter-bold;
font-size: $lg-font-size;
display: box;
box-orient: vertical;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same for the box-orient property. It doesn't seem to be part of the standard, it looks like it is deprecated. It probably should be flex-direction: column; instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +70 to +71
display: -webkit-box;
-webkit-box-orient: vertical;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These seem to be non standard and won't work the same in all the browsers. They should probably be replaced with flex css properties.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://css-tricks.com/almanac/properties/l/line-clamp/ was trying to use this property, which allows me to check how many lines are visible from a text.

Copy link

@lghiur lghiur merged commit 9ef8df4 into master May 21, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants