Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Sep 13, 2023
1 parent ccafa02 commit 094f472
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ on:
jobs:
deploy-docs:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
if: |
github.event_name == 'workflow_dispatch' ||
github.event_name == 'workflow_call' ||
github.event_name == 'push' ||
github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion src/docs/src/lib/mdsvex-blog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<SEO {title} {desc} img={thumbnail} />

<div class="prose prose-sm md:prose-base">
<div class="prose prose-sm md:prose-base mx-auto">
{#if thumbnail}
<figure class="w-full">
<img
Expand Down
2 changes: 1 addition & 1 deletion src/docs/src/routes/blog/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class="card sm:card-side sm:max-w-none hover:bg-base-200 transition-colors"
href={`/blog/${post.slug}`}>
{#if post.thumbnail}
<figure class="max-w-[12rem] w-full object-cover mx-auto sm:pr-0 p-6 max-sm:pb-0">
<figure class="sm:max-w-[12rem] w-full object-cover mx-auto sm:pr-0 p-6 max-sm:pb-0">
<img
loading="lazy"
src={post.thumbnail}
Expand Down
2 changes: 1 addition & 1 deletion src/docs/src/routes/blog/tag/[tag]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class="card sm:card-side max-w-sm sm:max-w-none hover:bg-base-200 transition-colors"
href={`/blog/${post.slug}`}>
{#if post.thumbnail}
<figure class="max-w-[12rem] w-full object-cover mx-auto sm:pr-0 p-6 max-sm:pb-0">
<figure class="sm:max-w-[12rem] w-full object-cover mx-auto sm:pr-0 p-6 max-sm:pb-0">
<img
loading="lazy"
src={post.thumbnail}
Expand Down

0 comments on commit 094f472

Please sign in to comment.