More small screen fixes

This commit is contained in:
Jackson Harper 2024-02-29 15:37:40 +08:00
parent b319a5a5c9
commit 39f8d5767a
3 changed files with 12 additions and 7 deletions

View file

@ -41,6 +41,9 @@ export const FormInput = styled('input', {
'&:focus': {
outline: 'none',
},
'@mdDown': {
pl: '5px',
},
})
export const FormLabel = styled('label', {

View file

@ -1,4 +1,4 @@
import { VStack } from '../../elements/LayoutPrimitives'
import { Box, SpanBox, VStack } from '../../elements/LayoutPrimitives'
import { StyledText } from '../../elements/StyledText'
import { ErrorSlothIcon } from '../../elements/icons/ErrorSlothIcon'
import { DEFAULT_HEADER_HEIGHT } from './HeaderSpacer'
@ -13,6 +13,7 @@ export const FetchItemsError = (): JSX.Element => {
width: '100%',
height: '100%',
pb: '100px',
px: '30px',
minHeight: `calc(100vh - ${DEFAULT_HEADER_HEIGHT})`,
}}
>
@ -30,16 +31,15 @@ export const FetchItemsError = (): JSX.Element => {
>
Something has gone wrong.
</StyledText>
<StyledText
<SpanBox
css={{
display: 'flex',
marginBlockStart: '0px',
marginBlockEnd: '0px',
fontSize: '15px',
lineHeight: '125%',
fontFamily: '$inter',
color: '$thTextSubtle2',
whiteSpace: 'nowrap',
textAlign: 'center',
}}
>
We have encountered unexpected problems.{' '}
@ -50,7 +50,7 @@ export const FetchItemsError = (): JSX.Element => {
>
Get help
</a>
</StyledText>
</SpanBox>
</VStack>
)
}

View file

@ -21,7 +21,6 @@ export const MultiSelectControls = (props: LibraryHeaderProps): JSX.Element => {
const [hoverColor, setHoverColor] = useState<string>(
theme.colors.thTextContrast2.toString()
)
const compact = false
return (
<Box
@ -45,7 +44,7 @@ export const MultiSelectControls = (props: LibraryHeaderProps): JSX.Element => {
css={{
width: '100%',
height: '100%',
pr: compact ? '5px' : '10px',
pr: '10px',
}}
onClick={(e) => {
e.preventDefault()
@ -81,6 +80,9 @@ export const MultiSelectControls = (props: LibraryHeaderProps): JSX.Element => {
border: '2px solid transparent',
width: '100%',
height: '100%',
'@mdDown': {
pl: '5px',
},
}}
>
<SpanBox