pl-fe: collapsed status gradient position improvement

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-09-01 17:40:28 +02:00
parent 39863bc94f
commit 1649586545
6 changed files with 2 additions and 9 deletions

View file

@ -35,7 +35,7 @@ interface IReadMoreButton {
/** Button to expand a truncated status (due to too much content) */
const ReadMoreButton: React.FC<IReadMoreButton> = ({ onClick, quote }) => (
<div className='relative'>
<div className='relative -mt-4'>
<div
className={clsx('absolute -top-16 h-16 w-full bg-gradient-to-b from-transparent to-white black:to-black dark:to-primary-900', {
'hover:to-gray-100 black:hover-to-gray-800 dark:hover:to-gray-800': quote,

View file

@ -87,7 +87,6 @@ const LoginPage = () => {
<Button className='w-full' theme='secondary' to='/login/external'>
<FormattedMessage id='login_form.external' defaultMessage='Sign in from remote instance' />
</Button>
</Stack>
</BigCard>
);

View file

@ -70,7 +70,6 @@ const DeleteAccount = () => {
<Button type='submit' theme='danger' disabled={isLoading}>
{intl.formatMessage(messages.deleteSubmit)}
</Button>
</FormActions>
</Form>
</Stack>

View file

@ -73,7 +73,6 @@ const StatusCheckBox: React.FC<IStatusCheckBox> = ({ id, disabled }) => {
<Stack className='status-check-box__status py-2' space={1}>
<StatusContent status={status} />
<Suspense>{media}</Suspense>
</Stack>
<div className='flex items-center justify-center p-2.5'>

View file

@ -172,7 +172,6 @@ const DetailedStatus: React.FC<IDetailedStatus> = ({
<StatusLanguagePicker status={status} showLabel />
</HStack>
</HStack>
</div>
</div>

View file

@ -55,10 +55,7 @@ const SelectedStatus = ({ statusId }: { statusId: string }) => {
hideActions
/>
<StatusContent
status={status}
collapsable
/>
<StatusContent status={status} />
{status.media_attachments.length > 0 && (
<AttachmentThumbs