Skip to content

Commit 33448dc

Browse files
committed
Profile and Service - Minor image and grid tweaks
1 parent d93cbeb commit 33448dc

3 files changed

Lines changed: 13 additions & 4 deletions

File tree

app/components/02.molecules/profile-section/ProfileSection.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
axis="vertical"
1414
font-size="large"
1515
:text-content="[
16-
{ text: 'Your', styleClass: 'accent' },
16+
{ text: 'Your', styleClass: 'normal' },
1717
{ text: 'mobile hairdresser', styleClass: 'accent' },
18-
{ text: 'in Bath', styleClass: 'accent' },
18+
{ text: 'in Bath', styleClass: 'normal' },
1919
]"
2020
:style-class-passthrough="['mb-20']"
2121
/>
@@ -99,6 +99,7 @@ watch(
9999
100100
.profile-picture {
101101
object-fit: cover;
102+
width: 100%;
102103
}
103104
}
104105

app/components/03.organisms/services/services-card/ServicesCard.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ watch(
6464
6565
.image-wrapper {
6666
aspect-ratio: 3/4;
67+
border-radius: 8px;
6768
overflow: hidden;
6869
6970
.image {

app/components/03.organisms/services/services-section/ServicesSection.vue

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,19 @@ watch(
170170
171171
.services-section__grid {
172172
display: grid;
173-
grid-template-columns: repeat(auto-fit, minmax(446px, 1fr));
174-
gap: 3rem;
173+
grid-template-columns: 1fr;
174+
gap: 2rem;
175+
176+
@media (width >= 768px) {
177+
grid-template-columns: repeat(auto-fit, minmax(446px, 1fr));
178+
gap: 3rem;
179+
}
175180
}
176181
177182
.image-wrapper {
178183
align-self: start;
184+
border-radius: 8px;
185+
overflow: hidden;
179186
180187
.image {
181188
display: block;

0 commit comments

Comments
 (0)