My images are displaying larger than I would like them to be. I've tried adding a…
- User
My images are displaying larger than I would like them to be. I've tried adding a max-height percentage in a few places, but it's not working for me.
Where would you add the max height?
section.discover { // Frame 3 display: flex; flex-direction: row; align-items: flex-start; padding: 0; gap: 2em; max-width: 100%; order: 1; flex-grow: 0;
header { // title display: flex; padding: 0; gap: 1em; flex: none; order: 0; flex-basis: 25%;
codeh2 { // discover display: flex; align-items: flex-start; padding: 0; gap: 2em; order: 1; flex-grow: 0; }}
.cards { // no related display: flex; flex-wrap: no-wrap; justify-content: center;
code.card-wrap { // push display: flex; flex-direction: column; align-items: flex-start; padding: 0.5em; flex: none; order: 1; flex-basis: 33%; .card { display: flex; flex-direction: column; align-items: stretch; img { // Rectangle 22 border-radius: 2em 2em 2em 2em; order: 0; align-self: stretch; max-width: 90%; max-height: 10%; padding: 0.5em; } .content { // Frame 2 display: flex; flex-direction: column; align-items: flex-start; padding: 0; gap: 0.5em; flex: none; order: 1; align-self: stretch;// p.type { // color: $medium-grey; // }
code Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.