mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 04:10:32 +00:00
feat: optimize SMS notifications RTL.
This commit is contained in:
@@ -15,6 +15,8 @@ import { FormObserver, SMSMessagePreview } from 'components';
|
||||
import { transformToForm, safeInvoke } from 'utils';
|
||||
import { getSMSUnits } from './utils';
|
||||
|
||||
import { whenRtl, whenLtr } from 'utils/styled-components';
|
||||
|
||||
const defaultInitialValues = {
|
||||
notification_key: '',
|
||||
customer_name: '',
|
||||
@@ -145,9 +147,17 @@ const SMSPreviewSectionRoot = styled.div`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 45%;
|
||||
padding-left: 25px;
|
||||
margin-left: 25px;
|
||||
border-left: 1px solid #dcdcdd;
|
||||
|
||||
${whenLtr(`
|
||||
padding-left: 25px;
|
||||
margin-left: 25px;
|
||||
border-left: 1px solid #dcdcdd;
|
||||
`)}
|
||||
${whenRtl(`
|
||||
padding-right: 25px;
|
||||
margin-right: 25px;
|
||||
border-right: 1px solid #dcdcdd;
|
||||
`)}
|
||||
`;
|
||||
|
||||
const SMSPreviewSectionNote = styled.div`
|
||||
|
||||
Reference in New Issue
Block a user