Skip to content

Commit

Permalink
cleanup: migrate the center tag to an class
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits authored and mirkobrombin committed Jan 8, 2025
1 parent a5fb0bb commit c900f52
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
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

0 comments on commit c900f52

Please sign in to comment.