python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Button overflows flex container when aspect-ratio is used
Trying to place a button into flex container and make its height to be percentage of sibling's (.task) height. It works as expected except that button horizontally overflows parent (.task-buttons) and...
Ledorub
Votes: 0
Answers: 1
How to set and adjust plots with equal axis aspect ratios - CHART.js
I have a project where I show the movements of the robot, I want to make this map so that the x and y scales are proportional to each other.
These data are real-time data, which, as I mentioned, shows...
kockito
Votes: 0
Answers: 1
Maintain aspect ratio in horizontal flex card
I am able to make a vertical flex card with an image on top and it will maintain 16:9 aspect ratio always. My vertical flex card code
.card {
display: flex;
flex-direction: column;
mar...
BLIND
Votes: 0
Answers: 1
How can I keep aspect-ratio of img in Safari based on parent height
I have been developing a website with 3 rows.
The rows change in height, depending on which one is selected (let's say 20vh when not selected and 40vh when selected).
Inside the rows are blocks contai...
Laura
Votes: 0
Answers: 0