Browse Source

Update responsive styles

Ensure audiofilepreview has legible mobile layout.
pull/1/head
TheoryOfNekomata 1 year ago
parent
commit
71df297b08
4 changed files with 9 additions and 8 deletions
  1. +4
    -4
      packages/web-kitchensink-reactnext/src/categories/blob/react/components/AudioFilePreview/index.tsx
  2. +2
    -2
      packages/web-kitchensink-reactnext/src/packages/react-wavesurfer/SpectrogramCanvas/index.tsx
  3. +2
    -2
      packages/web-kitchensink-reactnext/src/packages/react-wavesurfer/WaveformCanvas/index.tsx
  4. +1
    -0
      packages/web-kitchensink-reactnext/tailwind.config.js

+ 4
- 4
packages/web-kitchensink-reactnext/src/categories/blob/react/components/AudioFilePreview/index.tsx View File

@@ -85,7 +85,7 @@ export const AudioFilePreview = React.forwardRef<AudioFilePreviewDerivedComponen
)} )}
style={style} style={style}
> >
<div className="h-full relative col-span-2">
<div className="sm:h-full relative col-span-2">
{ {
typeof fileWithMetadata.url === 'string' typeof fileWithMetadata.url === 'string'
&& ( && (
@@ -94,7 +94,7 @@ export const AudioFilePreview = React.forwardRef<AudioFilePreviewDerivedComponen
data-testid="preview" data-testid="preview"
> >
<div <div
className="w-full flex-auto relative"
className="w-full flex-auto relative aspect-video sm:aspect-auto"
key={`${fileWithMetadata?.url ?? ''}:${fileWithMetadata?.type ?? ''}`} key={`${fileWithMetadata?.url ?? ''}:${fileWithMetadata?.type ?? ''}`}
> >
<audio <audio
@@ -117,7 +117,7 @@ export const AudioFilePreview = React.forwardRef<AudioFilePreviewDerivedComponen
<> <>
<WaveformCanvas <WaveformCanvas
className={clsx( className={clsx(
'sm:absolute w-full sm:h-full top-0 left-0 block object-center object-contain flex-auto aspect-video sm:aspect-auto bg-primary/10 cursor-text',
'absolute w-full sm:h-full top-0 left-0 block object-center object-contain flex-auto aspect-video sm:aspect-auto bg-primary/10 cursor-text',
visualizationMode !== 'waveform' && 'opacity-0', visualizationMode !== 'waveform' && 'opacity-0',
)} )}
ref={mediaControllerRef} ref={mediaControllerRef}
@@ -136,7 +136,7 @@ export const AudioFilePreview = React.forwardRef<AudioFilePreviewDerivedComponen
/> />
<SpectrogramCanvas <SpectrogramCanvas
className={clsx( className={clsx(
'sm:absolute w-full sm:h-full top-0 left-0 block object-center object-contain flex-auto aspect-video sm:aspect-auto bg-primary/10 pointer-events-none',
'absolute w-full sm:h-full top-0 left-0 block object-center object-contain flex-auto aspect-video sm:aspect-auto bg-primary/10 pointer-events-none',
visualizationMode !== 'spectrum' && 'opacity-0', visualizationMode !== 'spectrum' && 'opacity-0',
)} )}
ref={mediaControllerRef} ref={mediaControllerRef}


+ 2
- 2
packages/web-kitchensink-reactnext/src/packages/react-wavesurfer/SpectrogramCanvas/index.tsx View File

@@ -193,12 +193,12 @@ export const SpectrogramCanvas = React.forwardRef<SpectrogramCanvasDerivedCompon
return ( return (
<div <div
className={clsx( className={clsx(
'relative flex flex-col',
'flex flex-col',
className, className,
)} )}
> >
<div <div
className="flex-auto relative"
className="flex-auto relative aspect-video sm:aspect-auto"
style={{ style={{
maskImage: 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACEAYAAAAiJtFnAAAFDmlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIgogICAgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIgogICAgeG1sbnM6ZXhpZj0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nro1auB2uVeI6Jt0DYoiNr0WtRfUNugdRAURRBta13UpuR2rgpK5BnOnG9+M+cwcwbskbSSMWo8kMnm9HDA75qbX3DVv1JHJ05gIKoY2lgoFKSqfT1gs+Jdv1Wr+rl/zRlPGArYGoRHFU3PCU8KB9dymsW7wu1KKhoXPhfu0+WCwveWHivym8XJIv9YrEfC42BvFXYlKzhWwUpKzwjLy3Fn0qtK6T7WS5oS2dkZid3iXRiECeDHxRQTjONjkBGZffTjZUBWVMn3FPKnWZFcRWaNdXSWSZIiR5+oq1I9IVEVPSEjzbrV/799NdQhb7F6kx9qX0zzowfqdyC/bZrfx6aZPwHHM1xly/krRzD8Kfp2WXMfQssmXFyXtdgeXG5Bx5MW1aMFySFuV1V4P4PmeWi7hcbFYs9K+5w+QmRDvuoG9g+gV863LP0CQBln1EZARokAAAAJcEhZcwAACxMAAAsTAQCanBgAAAASSURBVAiZY2BAASzdqHyG//8BDTECjpzQZHQAAAAASUVORK5CYII=)',


+ 2
- 2
packages/web-kitchensink-reactnext/src/packages/react-wavesurfer/WaveformCanvas/index.tsx View File

@@ -152,12 +152,12 @@ export const WaveformCanvas = React.forwardRef<SpectrogramCanvasDerivedComponent
return ( return (
<div <div
className={clsx( className={clsx(
'relative flex flex-col',
'flex flex-col',
className, className,
)} )}
> >
<div <div
className="flex-auto relative"
className="flex-auto relative aspect-video sm:aspect-auto"
> >
<div className="absolute top-0 left-0 w-full h-full"> <div className="absolute top-0 left-0 w-full h-full">
<div className="w-full h-full relative" <div className="w-full h-full relative"


+ 1
- 0
packages/web-kitchensink-reactnext/tailwind.config.js View File

@@ -51,6 +51,7 @@ module.exports = {
10: '2.5rem', 10: '2.5rem',
12: '3rem', 12: '3rem',
16: '4rem', 16: '4rem',
64: '16rem',
}, },
}, },
}, },


Loading…
Cancel
Save