diff --git a/public/index.html b/public/index.html index 65e630d99..b533f1b81 100644 --- a/public/index.html +++ b/public/index.html @@ -17,6 +17,6 @@ -
+
diff --git a/src/components/common/links/external-link.tsx b/src/components/common/links/external-link.tsx index c4924eaae..d489bc29f 100644 --- a/src/components/common/links/external-link.tsx +++ b/src/components/common/links/external-link.tsx @@ -8,7 +8,9 @@ export const ExternalLink: React.FC = ({ href, text, icon, cl + className={className} + dir='auto' + >   diff --git a/src/components/common/pagination/pager-pagination.tsx b/src/components/common/pagination/pager-pagination.tsx index 137c7db76..b16f49629 100644 --- a/src/components/common/pagination/pager-pagination.tsx +++ b/src/components/common/pagination/pager-pagination.tsx @@ -58,7 +58,7 @@ export const PagerPagination: React.FC = ({ numberOfPageButtons }) return ( - + 0}> diff --git a/src/components/landing/layout/footer/language-picker.tsx b/src/components/landing/layout/footer/language-picker.tsx index 00029f409..212b384a1 100644 --- a/src/components/landing/layout/footer/language-picker.tsx +++ b/src/components/landing/layout/footer/language-picker.tsx @@ -7,8 +7,9 @@ const LanguagePicker: React.FC = () => { const { i18n } = useTranslation() const onChangeLang = async (event: React.ChangeEvent) => { - moment.locale(event.currentTarget.value) - await i18n.changeLanguage(event.currentTarget.value) + const language = event.currentTarget.value + moment.locale(language) + await i18n.changeLanguage(language) } const shortenLanguageCode = (language: string): string => { diff --git a/src/components/landing/layout/navigation/header-bar/header-bar.tsx b/src/components/landing/layout/navigation/header-bar/header-bar.tsx index 77b60605e..babbdbf5c 100644 --- a/src/components/landing/layout/navigation/header-bar/header-bar.tsx +++ b/src/components/landing/layout/navigation/header-bar/header-bar.tsx @@ -27,13 +27,13 @@ const HeaderBar: React.FC = () => {
{!user ? - + : - + diff --git a/src/components/landing/layout/navigation/new-guest-note-button.tsx b/src/components/landing/layout/navigation/new-guest-note-button.tsx index dc9fcdb60..71e6463e1 100644 --- a/src/components/landing/layout/navigation/new-guest-note-button.tsx +++ b/src/components/landing/layout/navigation/new-guest-note-button.tsx @@ -12,7 +12,7 @@ export const NewGuestNoteButton: React.FC = () => { variant="primary" size="sm" className="d-inline-flex align-items-center"> - + diff --git a/src/components/landing/layout/navigation/new-user-note-button.tsx b/src/components/landing/layout/navigation/new-user-note-button.tsx index 3a182dfd8..3087232cd 100644 --- a/src/components/landing/layout/navigation/new-user-note-button.tsx +++ b/src/components/landing/layout/navigation/new-user-note-button.tsx @@ -12,7 +12,7 @@ export const NewUserNoteButton: React.FC = () => { variant="primary" size="sm" className="d-inline-flex align-items-center"> - + diff --git a/src/components/landing/layout/navigation/user-dropdown/user-dropdown.tsx b/src/components/landing/layout/navigation/user-dropdown/user-dropdown.tsx index 549e6d7c4..9259f92d8 100644 --- a/src/components/landing/layout/navigation/user-dropdown/user-dropdown.tsx +++ b/src/components/landing/layout/navigation/user-dropdown/user-dropdown.tsx @@ -22,24 +22,24 @@ export const UserDropdown: React.FC = () => { - + - - + + - - + + - { clearUser() }}> - + diff --git a/src/components/landing/layout/user-avatar/user-avatar.tsx b/src/components/landing/layout/user-avatar/user-avatar.tsx index be84cd67e..aae0b3a4d 100644 --- a/src/components/landing/layout/user-avatar/user-avatar.tsx +++ b/src/components/landing/layout/user-avatar/user-avatar.tsx @@ -16,7 +16,7 @@ const UserAvatar: React.FC = ({ name, photo, additionalClasses className="user-avatar" alt={`Avatar of ${name}`} /> - {name} + {name} ) } diff --git a/src/components/landing/pages/history/history-toolbar/history-toolbar.tsx b/src/components/landing/pages/history/history-toolbar/history-toolbar.tsx index 61db86e6c..0e2e4e23b 100644 --- a/src/components/landing/pages/history/history-toolbar/history-toolbar.tsx +++ b/src/components/landing/pages/history/history-toolbar/history-toolbar.tsx @@ -114,7 +114,7 @@ export const HistoryToolbar: React.FC = ({ onSettingsChange - { toggleViewChanged(newViewState) }}> diff --git a/src/components/landing/pages/intro/intro.tsx b/src/components/landing/pages/intro/intro.tsx index c9a8f574c..1cc98a585 100644 --- a/src/components/landing/pages/intro/intro.tsx +++ b/src/components/landing/pages/intro/intro.tsx @@ -10,7 +10,7 @@ const Intro: React.FC = () => { return (
-

+

CodiMD

diff --git a/src/components/landing/pages/profile/settings/profile-account-management.tsx b/src/components/landing/pages/profile/settings/profile-account-management.tsx index 90a8199d3..b38298511 100644 --- a/src/components/landing/pages/profile/settings/profile-account-management.tsx +++ b/src/components/landing/pages/profile/settings/profile-account-management.tsx @@ -58,11 +58,11 @@ export const ProfileAccountManagement: React.FC = () => { @@ -70,7 +70,7 @@ export const ProfileAccountManagement: React.FC = () => { -

+

diff --git a/src/global-style/index.scss b/src/global-style/index.scss index 8ad595f4e..b45dd3cdb 100644 --- a/src/global-style/index.scss +++ b/src/global-style/index.scss @@ -23,3 +23,7 @@ body { .fa.fa-fix-line-height { line-height: inherit; } + +.text-start { + text-align: start; +}