Skip to content

Commit b1adf6d

Browse files
committed
partner style tweaks
1 parent 7b3af64 commit b1adf6d

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/partners/components/PartnerCard.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,11 @@ const { name, intro, region, logo, proficiencies, flipLogo } = data
2727
/>
2828
<img class="logo" v-if="hero" :src="getLogo(logo)" />
2929
<h3 v-else>{{ name }}</h3>
30+
3031
<p class="region"><Location /> {{ region.join(', ') }}</p>
32+
3133
<p>{{ intro }}</p>
34+
3235
<h4 v-if="hero">Proficiencies</h4>
3336
<p v-if="hero">
3437
<span class="proficiency" v-for="p in proficiencies">{{ p }}</span>
@@ -171,12 +174,13 @@ h4 {
171174
}
172175
173176
.proficiency {
177+
display: inline-block;
174178
color: var(--vt-c-text-code);
175179
font-weight: 600;
176180
font-size: 0.85em;
177-
margin-right: 4px;
181+
margin: 2px;
178182
background-color: var(--vt-c-bg-mute);
179-
padding: 4px 8px;
183+
padding: 4px 10px;
180184
border-radius: 6px;
181185
}
182186
</style>

src/partners/components/PartnerLanding.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,10 @@ h2 {
8181
.browse-all:hover {
8282
background-color: var(--vt-c-brand-dark);
8383
}
84+
85+
@media (max-width: 768px) {
86+
.spotlight-inner, .featured {
87+
padding: 36px 28px;
88+
}
89+
}
8490
</style>

0 commit comments

Comments
 (0)