Skip to content

Commit

Permalink
left align feature pages
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantgillespie committed Sep 6, 2024
1 parent f46f88e commit acb1a8d
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions pages/features/[slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ onMounted(() => {

<template>
<!-- Header -->
<PageSection background="pristine-white-lines">
<PageSection>
<BaseContainer>
<BaseButton
class="back-button"
Expand All @@ -81,13 +81,12 @@ onMounted(() => {
outline
icon-start="arrow_back"
/>
<div class="block-container">
<div class="block-container narrow mt-16">
<BaseBadge v-if="feature?.module" class="badge" caps :label="feature.module" />
<BaseHeading v-if="feature?.title" align="center" :content="feature.title" size="large" tag="h1" />
<BaseHeading v-if="feature?.title" align="start" :content="feature.title" size="large" tag="h1" />
<BaseText
v-if="feature?.description"
class="text"
align="center"
align="start"
:content="feature?.description"
color="foreground"
type="subtext"
Expand Down Expand Up @@ -151,11 +150,7 @@ onMounted(() => {
.text {
max-inline-size: 45rem;
}
.heading,
.text,
.badge {
margin-inline: auto;
}
.subdued {
color: var(--gray-600);
margin-inline-end: var(--space-2);
Expand Down Expand Up @@ -196,9 +191,7 @@ onMounted(() => {
.pb-16 {
padding-block-end: var(--space-16);
}
.next {
text-align: center;
}
.mt-8 {
margin-block-start: var(--space-8);
}
Expand Down

0 comments on commit acb1a8d

Please sign in to comment.