Skip to content

Commit

Permalink
fix: overflow on card tags
Browse files Browse the repository at this point in the history
  • Loading branch information
garywoodfine committed Mar 3, 2021
1 parent 5bc7236 commit 55df016
Show file tree
Hide file tree
Showing 22 changed files with 121 additions and 86 deletions.
2 changes: 1 addition & 1 deletion components/feed/post/card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div
class="flex items-center justify-start mt-4 top-auto text-green-700"
>
<tags :tags="post.tags" />
<div class="flex-initial"><tags :tags="post.tags" /></div>
</div>
</div>
</div>
Expand Down
18 changes: 10 additions & 8 deletions components/feed/post/microbes/tags.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<template>
<div class="mt-4 mb-4 px-2">
<nuxt-link
v-for="tag in tags"
:key="tag.id"
:to="{ name: 'tags-slug', params: { slug: tag } }"
class="mr-2 lowercase"
v-html="`#${tag}`"
>
</nuxt-link>
<ul class="grid grid-cols-3 gap-1">
<li v-for="tag in tags" :key="tag.id" class="col-span-1 text-sm">
<nuxt-link
:to="{ name: 'tags-slug', params: { slug: tag } }"
class="lowercase"
v-html="`#${tag}`"
>
</nuxt-link>
</li>
</ul>
</div>
</template>

Expand Down
183 changes: 108 additions & 75 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@tailwindcss/forms": "^0.2.1",
"@tailwindcss/typography": "^0.2.0",
"core-js": "^3.8.3",
"netlify-cli": "^3.8.5",
"netlify-cli": "^3.10.3",
"nuxt": "^2.14.12",
"prism-themes": "^1.5.0",
"reading-time": "^1.3.0"
Expand Down
2 changes: 1 addition & 1 deletion pages/_slug.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="mx-1 my-1 px-1 py-1">
<div class="mx-1 my-1 px-2 py-2">
<post-title :post="article" />
<div class="prose">
<nuxt-content class="text-justify" :document="article" />
Expand Down
Binary file added static/media/images/javascript/brew-formulae.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/images/javascript/netlify-dev.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/images/javascript/nodejs.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/images/javascript/rest-api.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/media/images/javascript/yarn-install.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 55df016

Please sign in to comment.