|
1 | 1 | <template> |
2 | 2 | <div> |
3 | | - <div class="bg-grey-dark color-white p-small card"> |
| 3 | + <div |
| 4 | + class="bg-grey-dark color-white card" |
| 5 | + :class="$store.state.isMobile ? 'p-small pt-medium sharp' : 'p-large'"> |
4 | 6 | <div class="row"> |
5 | 7 | <button |
6 | 8 | v-for="({ name, key }, i) in $tm('resources.tabs')" |
7 | 9 | :key="name" |
8 | | - class="type-uppercase theme type-small" |
| 10 | + class="type-uppercase theme type-small mb-small" |
9 | 11 | :class="[ |
10 | 12 | activeTab === key ? 'active' : '', |
11 | | - i === 3 ? 'mr-none' : 'mr-medium' |
| 13 | + i === 3 ? 'mr-none' : 'mr-small' |
12 | 14 | ]" |
13 | 15 | @click="activeTab = key; showAll = false"> |
14 | 16 | {{ name }} |
|
19 | 21 | <div class="row mb-medium"> |
20 | 22 | <div |
21 | 23 | class="col-sm-12 col-md-9 pt-medium" |
| 24 | + :class="$store.state.isMobile ? '' : 'pr-large'" |
22 | 25 | v-html="selectedDescription" /> |
23 | 26 | <div |
24 | | - class="col-sm-6 col-md-3 flex bottom" |
| 27 | + class="col-sm-12 col-md-3 flex bottom" |
25 | 28 | :class="$store.state.isMobile ? '' : 'end'"> |
26 | 29 | <div class="relative" style="width: 100%;"> |
27 | 30 | <div class="flex middle card border-white border-thin mt-medium" style="width: 100%;"> |
|
116 | 119 | <div |
117 | 120 | v-for="(item, i) in visibleItems" |
118 | 121 | :key="item.name" |
119 | | - class="pb-xsmall pt-xsmall" |
| 122 | + class="p-xsmall" |
| 123 | + style="margin-left: -1rem; margin-right: -1rem;" |
120 | 124 | :style="i % 2 ? 'background-color: rgba(255, 255, 255, 0.1)' : ''"> |
121 | 125 | <div class="flex between"> |
122 | 126 | <div> |
|
138 | 142 | </div> |
139 | 143 | <div |
140 | 144 | v-html="item.description" |
141 | | - class="type-small" /> |
| 145 | + class="type-small mt-2xsmall" /> |
142 | 146 | </div> |
143 | 147 | </div> |
144 | | - <button |
145 | | - v-if="!showAll && itemsFilteredByTag.length > 7" |
146 | | - class="stroke type-uppercase mt-small type-small" |
147 | | - @click="showAll = true"> |
148 | | - Show more |
149 | | - </button> |
| 148 | + <div class="flex" :class="$store.state.isMobile ? 'center' : ''"> |
| 149 | + <button |
| 150 | + v-if="!showAll && itemsFilteredByTag.length > 7" |
| 151 | + class="stroke type-uppercase mt-small type-small mb-xsmall" |
| 152 | + @click="showAll = true"> |
| 153 | + Show more |
| 154 | + </button> |
| 155 | + </div> |
150 | 156 | </div> |
151 | 157 | </transition> |
152 | 158 | </div> |
|
0 commit comments