Skip to content

Commit

Permalink
feat: use tailwindCSS classes instead of my own custom class
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Aug 3, 2020
1 parent 6f6eea1 commit 646241a
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 13 deletions.
7 changes: 0 additions & 7 deletions assets/css/general/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ a:focus,
@apply border-primary;
}

.container--separator > * {
/* If this is used on the root level of a page, it pushes de SideNav and content down
* Use `overflow: auto;` on a parent to fix it
*/
@apply my-4;
}

/* ---------------- Transitions and animations ---------------- */

/* Page Transition */
Expand Down
2 changes: 1 addition & 1 deletion pages/faq.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<main class="container--separator">
<main class="mt-4 space-y-4">
<ContentContainer
:separator="true"
title="General"
Expand Down
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<main class="container--separator">
<main class="mt-4 space-y-4">
<!-- Menu -->
<div class="flex flex-row items-center justify-between">
<DomainSelector />
Expand Down
2 changes: 1 addition & 1 deletion pages/legal.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<main class="container--separator">
<main class="mt-4 space-y-4">
<!-- Separator -->
<ContentContainer :separator="true" title="Disclaimer" />

Expand Down
2 changes: 1 addition & 1 deletion pages/premium/booru.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<main class="flex flex-col justify-around h-screen container--separator">
<main class="flex flex-col justify-around h-screen mt-4 space-y-4">
<div>
<!-- Booru list -->
<div class="px-2 py-1 overflow-x-scroll material-container">
Expand Down
2 changes: 1 addition & 1 deletion pages/premium/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<template>
<main>
<template v-if="hasValidLicenseKey">
<div class="flex flex-col h-screen container--separator">
<div class="flex flex-col h-screen mt-4 space-y-4">
<PremiumDashboard />

<!-- Custom Booru -->
Expand Down
2 changes: 1 addition & 1 deletion pages/usage.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<main class="container--separator">
<main class="mt-4 space-y-4">
<!-- General Usage -->

<ContentContainer
Expand Down

0 comments on commit 646241a

Please sign in to comment.