vue-cards | :black_joker:卡片组件库示例 | User Interface library
kandi X-RAY | vue-cards Summary
kandi X-RAY | vue-cards Summary
:black_joker:卡片组件库示例
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vue-cards
vue-cards Key Features
vue-cards Examples and Code Snippets
Community Discussions
Trending Discussions on vue-cards
QUESTION
I am using bootstrap vue with vue to code a 4 by 4 card. Currently the title in one of the card is messing with one of buttons on the bottom of the card. The media width for the below is around 1000px.
Please refer to the image below
However when I change the title to a shorter Title, it is aligned. Please refer to the image below
I know it has something to do with the width but I can't seem to figured out what is causing it.
Steps that I have tried to solve the issue is using flex grow on the parent and word wrap for the title but still nothing. Hopefully someone can shed some light.
Attach is url to the sandbox of my code. https://codesandbox.io/s/vue-cards-hx5c9
I will also attach my code below. thank you. Update: I have updated my font family in my sandbox then the issue occurs
...ANSWER
Answered 2021-Mar-14 at 07:35I think the problem is image sizing. To control that we can give a max-height: 112px styling to the card-img. But we have to give it in a size bigger than 991px. So that we could protect our image sizes when flex-direction returns to column. Here what I've added to your style;
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vue-cards
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page