Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const ContentListView: FunctionComponent<Props> = ({
id="items-column"
className={classNames(
'sn-component section app-column flex flex-col border-b border-solid border-border ',
'xl:w-87.5 xsm-only:!w-full sm-only:!w-full md-only:!w-52 lg-only:!w-52',
'xl:w-87.5 xsm-only:!w-full sm-only:!w-full pointer-coarse:md-only:!w-52 pointer-coarse:lg-only:!w-52',
)}
aria-label={'Notes & Files'}
ref={itemsViewPanelRef}
Expand Down
8 changes: 7 additions & 1 deletion packages/web/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/** @type {import('tailwindcss').Config} */

const plugin = require('tailwindcss/plugin')

module.exports = {
content: ['./src/javascripts/**/*.tsx', '../toast/src/**/*.tsx'],
theme: {
Expand Down Expand Up @@ -129,5 +131,9 @@ module.exports = {
'text-accessory-tint-5',
'text-accessory-tint-6',
],
plugins: [],
plugins: [
plugin(function ({ addVariant }) {
addVariant('pointer-coarse', '@media (pointer: coarse)')
}),
],
}