|
26 | 26 | > |
27 | 27 | <b-card no-body bg-variant="light"> |
28 | 28 | <b-row no-gutters> |
29 | | - <b-col md="6" lg="4" xl="4" aria-hidden="true"> |
30 | | - <b-aspect aspect="4:3"> |
| 29 | + <b-col |
| 30 | + md="6" |
| 31 | + lg="4" |
| 32 | + xl="4" |
| 33 | + class="bg-dark" |
| 34 | + aria-hidden="true" |
| 35 | + > |
| 36 | + <b-aspect aspect="4:3" class="h-100 align-items-center"> |
31 | 37 | <b-card-img-lazy |
32 | 38 | :src="theme.img" |
33 | 39 | alt="Image" |
|
39 | 45 | </b-col> |
40 | 46 | <b-col class="d-flex flex-column p-4"> |
41 | 47 | <!-- We use `<h2>` for correct semantics, but `.h5` style --> |
42 | | - <h2 :id="`theme-label-${idx}`" class="h5">{{ theme.title }}</h2> |
43 | | - <b-card-text class="flex-grow-1"> |
44 | | - {{ theme.description }} |
45 | | - </b-card-text> |
| 48 | + <h2 :id="`theme-label-${idx}`" class="h5 mb-3">{{ theme.title }}</h2> |
| 49 | + <b-card-text class="flex-grow-1">{{ theme.description }}</b-card-text> |
46 | 50 | <b-card-text class="text-muted small"> |
47 | | - <span class="d-block d-lg-inline-block mb-2 mb-lg-0">Category: {{ theme.category }}</span> |
48 | | - <span class="d-block d-lg-inline-block ml-lg-3"><i>Provided by: {{ theme.provider }}</i></span> |
| 51 | + <span class="d-block d-lg-inline-block mb-2 mb-lg-0"><strong>Category:</strong> {{ theme.category }}</span> |
| 52 | + <span class="d-block d-lg-inline-block ml-lg-3"><i><strong>Provided by:</strong> {{ theme.provider }}</i></span> |
49 | 53 | </b-card-text> |
50 | 54 | <b-card-text class="d-flex align-items-center"> |
51 | 55 | <b-button :href="theme.href" target="_blank" variant="bd-primary"> |
52 | 56 | Get {{ theme.type || 'theme' }} |
53 | 57 | </b-button> |
54 | | - <small v-if="theme.price" class="text-muted position-relative ml-3"> |
55 | | - Price: {{ theme.price }} |
56 | | - <b-link href="#theme-notes" title="See notes" class="stretched-link"> |
57 | | - <b>*</b> |
58 | | - </b-link> |
59 | | - </small> |
| 58 | + <span v-if="theme.price" class="text-muted position-relative ml-3"> |
| 59 | + <strong>Price:</strong> {{ theme.price }}<b-link href="#theme-notes" title="See notes">*</b-link> |
| 60 | + </span> |
60 | 61 | </b-card-text> |
61 | 62 | </b-col> |
62 | 63 | </b-row> |
|
0 commit comments