Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: migrate the center tag to an class #278

Merged
merged 1 commit into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion public/assets/css/components/text.css
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,8 @@

.text--rich.text--sm p {
margin: 0 0 5px 0;
}
}

.text--center {
text-align: center;
}
4 changes: 2 additions & 2 deletions src/views/Updates.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@
</div>

<div class="spacer spacer--lg"></div>
<center>
<p class="text--center">
<button @click="handleLoadMoreDays" class="btn btn--primary">
{{ buttonText }}
</button>
</center>
</p>
<div class="spacer spacer--lg"></div>
<div class="card card--hz card--type-adv card--type-adv--hz card--purple">
<div class="card-header">
Expand Down
11 changes: 3 additions & 8 deletions src/views/download/DownloadOrchidStable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@
<div class="container">
<div class="flexList flexList--center">
<div class="spacer"></div>
<div class="text text--rich">
<center>
<div class="text text--rich text--center">
<p>Vanilla OS 2 Orchid is the next generation of Vanilla OS. It is built on top of new technologies
and
features to provide you with the most secure, stable and stunning system experience.</p>
</center>
and features to provide you with the most secure, stable and stunning system experience.</p>
</div>
<a href="https://download.vanillaos.org/latest.zip" class="btn btn--primary btn--big">
<span class="material-symbols-outlined">file_download</span>
Expand All @@ -40,12 +37,10 @@
</a>
</small>
</div>
<div class="text text--rich">
<center>
<div class="text text--rich text--center">
<p>Do you enjoy Vanilla OS? Consider <router-link
to="/get-involved/funding">supporting</router-link>
the project.</p>
</center>
</div>
<div class="spacer"></div>
</div>
Expand Down
Loading