Posts

Showing posts with the label stylus

Automatically take the biggest height CSS stylus

Image
Automatically take the biggest height CSS stylus simple problem, sometime i have more content in card (make it bigger), and i want the one that is smaller to take automatically the height of the bigger one. You can see explicitly what i mean on the picture attached. I'm using quasar (vuejs framework) and stylus Here is my code for the css of the box : <style lang="stylus" scoped> .q-card { margin: 10px; width : auto; img { height : 150px; } } </style> UPDATE And the html concerned : <ais-results :stack="true" class="row"> <template slot-scope="{ result }"> {{result.name_event}} 250 ft </q-card-title> <q-card-main> <p v-if="result.p...