Skip to content

Commit

Permalink
remove ubuntu test(still fails to run), fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ze-kel committed Dec 29, 2023
1 parent ad732b6 commit 664c781
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
# Ubuntu fails to launch for some reason. If fixed add ubuntu-latest
os: [windows-latest, macos-latestm, ubuntu-latest]
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4
Expand All @@ -26,8 +26,7 @@ jobs:
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1

# I ran into problems trying to run an electron window in ubuntu due to a missing graphics server.
# That's why this special command for Ubuntu is here
# This should fix ubuntu testing, but it doesnt for me
- run: xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npm run test --if-present
if: matrix.os == 'ubuntu-latest'

Expand Down
6 changes: 3 additions & 3 deletions packages/renderer/src/components/Cover/BookCover.vue
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<template>
<div class="@container relative h-full w-full overflow-hidden">
<div class="relative h-full w-full overflow-hidden @container">
<div
v-if="!showImage"
class="absolute left-0 top-0 flex h-full w-full flex-col rounded-md border border-neutral-200 p-3 shadow-lg transition-opacity dark:border-neutral-800"
>
<div
class="title overflow-hiddenalign-middle @[10rem]:text-lg h-1/2 shrink overflow-hidden text-xs leading-tight"
class="title overflow-hiddenalign-middle h-1/2 shrink overflow-hidden text-xs leading-tight @[10rem]:text-lg"
>
{{ mainTitle }}
</div>
<hr class="my-2 h-[1px] w-full border-0 bg-neutral-50 dark:bg-neutral-900" />
<div class="author @[10rem]:text-md flex-grow text-xs font-semibold">
{{ file.author || 'Unknown' }}
</div>
<div v-if="file.year" class="@[10rem]:text-lg @[5rem]:block hidden text-xs">
<div v-if="file.year" class="hidden text-xs @[5rem]:block @[10rem]:text-lg">
{{ file.year }}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div
:class="
cls(
'min-w-5 relative z-50 overflow-hidden rounded-md border border-neutral-100 bg-neutral-50 p-1 shadow-md dark:border-neutral-900 dark:bg-neutral-950',
'relative z-50 min-w-5 overflow-hidden rounded-md border border-neutral-100 bg-neutral-50 p-1 shadow-md dark:border-neutral-900 dark:bg-neutral-950',
$attrs.class as string,
)
"
Expand Down

0 comments on commit 664c781

Please sign in to comment.