fix: setup page rtl.

This commit is contained in:
elforjani3
2021-06-23 22:36:44 +02:00
parent de2cf8e8f3
commit c42a134b76
3 changed files with 25 additions and 10 deletions

View File

@@ -8,7 +8,9 @@ import { useAuthActions, useAuthOrganizationId } from 'hooks/state';
function FooterLinkItem({ title, link }) {
return (
<div class="">
<a href={link} target="_blank">{ title }</a>
<a href={link} target="_blank">
{title}
</a>
</div>
);
}
@@ -28,7 +30,12 @@ export default function SetupLeftSection() {
<section className={'setup-page__left-section'}>
<div className={'content'}>
<div className={'content__logo'}>
<Icon icon="bigcapital" className={'bigcapital--alt'} height={37} width={190} />
<Icon
icon="bigcapital"
className={'bigcapital--alt'}
height={37}
width={190}
/>
</div>
<h1 className={'content__title'}>
@@ -42,17 +49,22 @@ export default function SetupLeftSection() {
<div className={'content__organization'}>
<span class="organization-id">
<T id={'organization_id'} />: <span class="id">{ organizationId }</span>,
<T id={'organization_id'} />:{' '}
<span class="id">{organizationId}</span>,
</span>
<br />
<span class="signout">
<a onClick={onClickLogout} href="#"><T id={'sign_out'} /></a>
<a onClick={onClickLogout} href="#">
<T id={'sign_out'} />
</a>
</span>
</div>
<div className={'content__footer'}>
<div className={'content__contact-info'}>
<p><T id={'we_re_here_to_help'} /> {'+21892-791-8381'}</p>
<div className={'content__contact-info'}>
<p>
<T id={'we_re_here_to_help'} /> <span>{'+21892-738-1987'}</span>
</p>
</div>
<div className={'content__links'}>
@@ -61,5 +73,5 @@ export default function SetupLeftSection() {
</div>
</div>
</section>
)
}
);
}

View File

@@ -57,11 +57,11 @@ const initialState = {
periods: [
{
slug: 'month',
label: 'Monthly',
label: <T id={'monthly'}/>
},
{
slug: 'year',
label: 'Yearly',
label: <T id={'yearly'}/>
},
],
};

View File

@@ -101,6 +101,9 @@
opacity: 0.75;
padding-bottom: 5px;
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
p > span {
unicode-bidi: plaintext;
}
}
&__links {