Skip to content

Commit

Permalink
feat: improve Tags style
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Apr 11, 2023
1 parent ddb5226 commit e4e2982
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

/* */
.tag-container {
@apply flex flex-wrap content-start items-start gap-2 overflow-hidden bg-darkGray-500 p-2;
@apply flex flex-wrap content-start items-start gap-2 overflow-hidden bg-darkGray-700 p-2;
}

/* */
Expand All @@ -65,7 +65,7 @@
* NOT TO BE USED DIRECTLY AS CSS
* IN CLASSES IT SHOULD BE USED WITH `.link`
*/
@apply select-none overflow-hidden rounded-none px-1.5 py-0.5 text-gray-300 leading-normal bg-darkGray-300 rounded-lg;
@apply select-none overflow-hidden rounded-none px-1.5 py-0.5 text-gray-300 leading-normal bg-darkGray-100 rounded-lg;
}

/* Active tags */
Expand Down
4 changes: 2 additions & 2 deletions components/pages/posts/navigation/search/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</div>

<!-- Search results -->
<div class="material-container relative flex h-full flex-col space-y-2 p-2">
<div class="material-container relative flex h-full flex-col space-y-2 bg-darkGray-700 p-2">
<!-- If nothing searched -->
<template v-if="!searchResults.length && !search.activeTags.length">
<h1 class="flex flex-auto items-center justify-center text-xl font-light tracking-wide text-gray-200">
Expand All @@ -103,7 +103,7 @@

<!-- Searched tags, click them to add them -->
<template v-if="searchResults.length">
<div class="tag-container flex-auto overflow-y-scroll rounded border-0 border-darkGray-100">
<div class="tag-container flex-auto overflow-y-scroll rounded border-0">
<!-- Add tag to array of added tags -->
<button
v-for="tag in searchResults"
Expand Down
4 changes: 2 additions & 2 deletions components/pages/posts/post/Post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<!-- Workaround for content not jumping is having a div before -->
<div v-if="isActive">
<!-- Action bar -->
<div class="flex items-center justify-evenly bg-darkGray-100">
<div class="flex items-center justify-evenly bg-darkGray-500">
<!-- Actions -->
<!-- Saucenao -->
<template v-if="!isVideo">
Expand Down Expand Up @@ -131,7 +131,7 @@
<!-- Source -->
<template v-if="post.data.sources.length">
<!-- -->
<div class="w-full text-center">
<div class="w-full bg-darkGray-500 text-center">
<!-- If text is an URL then make it a link -->
<template v-if="isSourceAnUrl">
<a
Expand Down

0 comments on commit e4e2982

Please sign in to comment.