diff --git a/client/src/app-components/toggle-button.scss b/client/src/app-components/toggle-button.scss index 4711e8fe..6006ae56 100644 --- a/client/src/app-components/toggle-button.scss +++ b/client/src/app-components/toggle-button.scss @@ -6,4 +6,5 @@ padding: 2px; border-radius: 4px; text-align: center; + user-select: none; } \ No newline at end of file diff --git a/client/src/app/admin/panel/settings/admin-panel-system-preferences.js b/client/src/app/admin/panel/settings/admin-panel-system-preferences.js index 03ed99a7..4b17f553 100644 --- a/client/src/app/admin/panel/settings/admin-panel-system-preferences.js +++ b/client/src/app/admin/panel/settings/admin-panel-system-preferences.js @@ -1,5 +1,10 @@ import React from 'react'; import _ from 'lodash'; + +import API from 'lib-app/api-call'; +import i18n from 'lib-app/i18n'; +import LanguageSelector from 'app-components/language-selector'; +import ToggleButton from 'app-components/toggle-button'; import languageList from 'data/language-list'; import Form from 'core-components/form'; @@ -8,11 +13,7 @@ import Header from 'core-components/header'; import SubmitButton from 'core-components/submit-button'; import Button from 'core-components/button'; import Message from 'core-components/message'; - -import API from 'lib-app/api-call'; -import i18n from 'lib-app/i18n'; -import LanguageSelector from 'app-components/language-selector'; -import ToggleButton from 'app-components/toggle-button'; +import InfoTooltip from 'core-components/info-tooltip'; class AdminPanelSystemPreferences extends React.Component { @@ -31,12 +32,12 @@ class AdminPanelSystemPreferences extends React.Component { render() { return (