Remove shadow from transparent input
This commit is contained in:
parent
7df4476427
commit
a18cce4c81
|
@ -61,9 +61,10 @@ const Input = React.forwardRef<HTMLInputElement, IInput>(
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={
|
className={
|
||||||
classNames('relative shadow-sm', {
|
classNames('relative', {
|
||||||
'rounded-md': theme !== 'search',
|
'rounded-md': theme !== 'search',
|
||||||
'rounded-full': theme === 'search',
|
'rounded-full': theme === 'search',
|
||||||
|
'shadow-sm': theme !== 'transparent',
|
||||||
'mt-1': !String(outerClassName).includes('mt-'),
|
'mt-1': !String(outerClassName).includes('mt-'),
|
||||||
[String(outerClassName)]: typeof outerClassName !== 'undefined',
|
[String(outerClassName)]: typeof outerClassName !== 'undefined',
|
||||||
})
|
})
|
||||||
|
|
|
@ -74,7 +74,7 @@ const ChatPageMain = () => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack className='h-full overflow-hidden'>
|
<Stack className='h-full overflow-hidden'>
|
||||||
<HStack alignItems='center' justifyContent='between' space={2} className='px-4 py-2 w-full'>
|
<HStack alignItems='center' justifyContent='between' space={2} className='px-4 py-4 w-full'>
|
||||||
<HStack alignItems='center' space={2} className='overflow-hidden'>
|
<HStack alignItems='center' space={2} className='overflow-hidden'>
|
||||||
<HStack alignItems='center'>
|
<HStack alignItems='center'>
|
||||||
<IconButton
|
<IconButton
|
||||||
|
|
|
@ -6,8 +6,6 @@ import AccountSearch from 'soapbox/components/account_search';
|
||||||
import { CardTitle, HStack, Stack, Text } from 'soapbox/components/ui';
|
import { CardTitle, HStack, Stack, Text } from 'soapbox/components/ui';
|
||||||
import { useChats } from 'soapbox/queries/chats';
|
import { useChats } from 'soapbox/queries/chats';
|
||||||
|
|
||||||
import ChatComposer from '../../chat-composer';
|
|
||||||
|
|
||||||
interface IChatPageNew {
|
interface IChatPageNew {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,6 +38,7 @@ const ChatPageNew: React.FC<IChatPageNew> = () => {
|
||||||
theme='transparent'
|
theme='transparent'
|
||||||
showButtons={false}
|
showButtons={false}
|
||||||
autoFocus
|
autoFocus
|
||||||
|
className='mb-0.5'
|
||||||
/>
|
/>
|
||||||
</HStack>
|
</HStack>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|
Loading…
Reference in New Issue