Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(console): pagination bar should be fully visible #5758

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading