Skip to content

Commit

Permalink
fix(components): rectify broken styles (#910)
Browse files Browse the repository at this point in the history
* fix(components): rectify broken styles
  • Loading branch information
sabertazimi committed Jun 12, 2022
1 parent 2ccb388 commit ddb31f3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion components/Article/ArticleHeader.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@apply bg-gradient-primary w-full bg-cover bg-center bg-no-repeat p-3 md:px-32 md:pt-48 md:pb-40;
}

h1.title {
/* Overrides heading styles */
.title.title.title {
@apply my-12 text-6xl text-light md:my-24 md:text-8xl;
}
9 changes: 6 additions & 3 deletions components/PostsGrid/PostCard.module.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
h2.title {
/* Overrides heading styles */
.title.title.title {
@apply my-3;
}

.skeleton {
@apply mt-3;
}

.button {
@apply button-primary float-right m-0 h-14 w-14 rounded-full text-2xl;
/* Overrides button styles */
.button.button {
@apply float-right m-0 h-14 w-14 rounded-full border-primary;
@apply bg-primary text-2xl text-light hover:bg-secondary hover:text-light;
}
4 changes: 0 additions & 4 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@
@apply bg-gradient-to-r from-indigo-700 to-red-500;
}

.button-primary {
@apply border-primary bg-primary text-light hover:bg-secondary;
}

.flex-container {
@apply flex flex-row flex-wrap content-center items-center justify-center;
}
Expand Down

1 comment on commit ddb31f3

@vercel
Copy link

@vercel vercel bot commented on ddb31f3 Jun 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./

blog-git-main-sabertaz.vercel.app
blog-sabertaz.vercel.app
blog.tazimi.dev

Please sign in to comment.