Skip to content

Commit

Permalink
fix(console): pagination bar should be fully visible (#5758)
Browse files Browse the repository at this point in the history
  • Loading branch information
charIeszhao authored Apr 19, 2024
1 parent d23b433 commit 9707d66
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import { useConfirmModal } from '@/hooks/use-confirm-modal';
import useCurrentTenantScopes from '@/hooks/use-current-tenant-scopes';
import * as modalStyles from '@/scss/modal.module.scss';

import * as styles from '../index.module.scss';

type Props = {
readonly user: TenantMemberResponse;
readonly isOpen: boolean;
Expand Down Expand Up @@ -43,7 +45,9 @@ function EditMemberModal({ user, isOpen, onClose }: Props) {
if (role === TenantRole.Admin) {
const [result] = await show({
ModalContent: () => (
<Trans components={{ ul: <ul />, li: <li /> }}>{t('assign_admin_confirm')}</Trans>
<Trans components={{ ul: <ul className={styles.list} />, li: <li /> }}>
{t('assign_admin_confirm')}
</Trans>
),
confirmButtonText: 'general.confirm',
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import * as modalStyles from '@/scss/modal.module.scss';

import InviteEmailsInput from '../InviteEmailsInput';
import useEmailInputUtils from '../InviteEmailsInput/hooks';
import * as styles from '../index.module.scss';
import { type InviteMemberForm } from '../types';

import Footer from './Footer';
Expand Down Expand Up @@ -66,7 +67,9 @@ function InviteMemberModal({ isOpen, onClose }: Props) {
if (role === TenantRole.Admin) {
const [result] = await show({
ModalContent: () => (
<Trans components={{ ul: <ul />, li: <li /> }}>{t('assign_admin_confirm')}</Trans>
<Trans components={{ ul: <ul className={styles.list} />, li: <li /> }}>
{t('assign_admin_confirm')}
</Trans>
),
confirmButtonText: 'general.confirm',
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}
}

ul {
.list {
padding-inline-start: _.unit(6);

> li {
Expand Down

0 comments on commit 9707d66

Please sign in to comment.