pl-fe: collapsed status gradient position improvement
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
39863bc94f
commit
1649586545
6 changed files with 2 additions and 9 deletions
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -70,7 +70,6 @@ const DeleteAccount = () => {
|
|||
<Button type='submit' theme='danger' disabled={isLoading}>
|
||||
{intl.formatMessage(messages.deleteSubmit)}
|
||||
</Button>
|
||||
|
||||
</FormActions>
|
||||
</Form>
|
||||
</Stack>
|
||||
|
|
|
@ -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'>
|
||||
|
|
|
@ -172,7 +172,6 @@ const DetailedStatus: React.FC<IDetailedStatus> = ({
|
|||
|
||||
<StatusLanguagePicker status={status} showLabel />
|
||||
</HStack>
|
||||
|
||||
</HStack>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -55,10 +55,7 @@ const SelectedStatus = ({ statusId }: { statusId: string }) => {
|
|||
hideActions
|
||||
/>
|
||||
|
||||
<StatusContent
|
||||
status={status}
|
||||
collapsable
|
||||
/>
|
||||
<StatusContent status={status} />
|
||||
|
||||
{status.media_attachments.length > 0 && (
|
||||
<AttachmentThumbs
|
||||
|
|
Loading…
Reference in a new issue