Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update styles to wrap properly #7248

Merged
merged 1 commit into from
Jan 19, 2024
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
4 changes: 3 additions & 1 deletion packages/web/src/common/store/pages/signon/sagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,9 @@ function* signUp() {

const isNativeMobile = yield getContext('isNativeMobile')

const isSignUpRedesignEnabled = getFeatureEnabled(FeatureFlags.SIGN_UP_REDESIGN)
const isSignUpRedesignEnabled = getFeatureEnabled(
FeatureFlags.SIGN_UP_REDESIGN
)

if (isNativeMobile && !isSignUpRedesignEnabled) {
yield put(requestPushNotificationPermissions())
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/components/track/GiantTrackTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import moment from 'moment'
import { useDispatch, shallowEqual, useSelector } from 'react-redux'

import IconRobot from 'assets/img/robot.svg'
import DownloadButtons from 'components/download-buttons/DownloadButtons'
import { EntityActionButton } from 'components/entity-page/EntityActionButton'
import { Link, UserLink } from 'components/link'
import LoadingSpinner from 'components/loading-spinner/LoadingSpinner'
Expand Down Expand Up @@ -61,7 +62,6 @@ import styles from './GiantTrackTile.module.css'
import { GiantTrackTileProgressInfo } from './GiantTrackTileProgressInfo'
import InfoLabel from './InfoLabel'
import { PlayPauseButton } from './PlayPauseButton'
import DownloadButtons from 'components/download-buttons/DownloadButtons'

const { requestOpen: openPublishTrackConfirmationModal } =
publishTrackConfirmationModalUIActions
Expand Down
10 changes: 0 additions & 10 deletions packages/web/src/components/upload/AudioQuality.module.css

This file was deleted.

19 changes: 9 additions & 10 deletions packages/web/src/components/upload/AudioQuality.tsx
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
import { Flex, Text } from '@audius/harmony'

import styles from './AudioQuality.module.css'
import { Flex, Text, TextLink } from '@audius/harmony'

const messages = {
lossless: 'Provide FLAC, WAV, ALAC, or AIFF for highest audio quality.',
lossless: 'Provide FLAC, WAV, ALAC, or AIFF for highest audio quality. ',
learnMore: 'Learn more about lossless HD.'
}

export const AudioQuality = () => {
return (
<Flex justifyContent='center' alignItems='center'>
<Text variant='body'>{messages.lossless}</Text>
&nbsp;
<a className={styles.learnMore} href='' target='_blank'>
{messages.learnMore}
</a>
<Flex justifyContent='center' alignItems='center' mh='3xl'>
<Text variant='body'>
{messages.lossless}
<TextLink href='' target='_blank' isExternal css={{ color: '#a30cb3' }}>
{messages.learnMore}
</TextLink>
</Text>
</Flex>
)
}
3 changes: 2 additions & 1 deletion packages/web/src/components/upload/Dropzone.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { TextLink } from '@audius/harmony'
import cn from 'classnames'
import ReactDropzone from 'react-dropzone'

Expand Down Expand Up @@ -68,7 +69,7 @@ export const Dropzone = ({
return (
<>
{message}
<span className={styles.link}>{messages.browse}</span>
<TextLink css={{ color: '#a30cb3' }}>{messages.browse}</TextLink>
</>
)
}
Expand Down