Skip to content

Commit

Permalink
remove flex for elements to be printed (#450)
Browse files Browse the repository at this point in the history
* make screen and print view work at the same time
  • Loading branch information
Danble authored Apr 26, 2024
1 parent e2f8553 commit b68ed09
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
{$page.data.t('misc.LD_singular')}
</div>

<div class="flex overflow-x-hidden">
<div class="flex print:block overflow-x-hidden">
<div
class="print-columns pr-4 print:pr-9 max-w-full flex-grow"
style="--column-count: {$columnCount}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
{$page.data.t('misc.LD_singular')}
</div>

<div class="flex overflow-x-hidden">
<div class="flex print:block overflow-x-hidden">
<div
class="print-columns pr-4 print:pr-9 max-w-full flex-grow"
style="--column-count: {$columnCount}">
Expand Down
8 changes: 4 additions & 4 deletions packages/site/uno.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig, presetIcons, presetTypography, presetUno } from 'unocss';
import { presetForms } from '@julr/unocss-preset-forms';
import { defineConfig, presetIcons, presetTypography, presetUno } from 'unocss'
import { presetForms } from '@julr/unocss-preset-forms'

export default defineConfig({
presets: [
Expand All @@ -26,5 +26,5 @@ export default defineConfig({
'form-input': 'border-gray-300 rounded-md focus:border-blue-300 focus:ring focus:ring-blue-200 focus:ring-opacity-50',
},
],
safelist: ['tw-prose']
});
safelist: ['tw-prose'],
})

0 comments on commit b68ed09

Please sign in to comment.