diff --git a/services/web/frontend/js/features/editor-navigation-toolbar/components/icon-editor-only.js b/services/web/frontend/js/features/editor-navigation-toolbar/components/icon-editor-only.js deleted file mode 100644 index 6118050620..0000000000 --- a/services/web/frontend/js/features/editor-navigation-toolbar/components/icon-editor-only.js +++ /dev/null @@ -1,39 +0,0 @@ -function IconEditorOnly() { - const color = '#505050' // match color from .dropdown-menu > li > a - - return ( - - - - - - - ) -} - -export default IconEditorOnly diff --git a/services/web/frontend/js/features/editor-navigation-toolbar/components/icon-pdf-only.js b/services/web/frontend/js/features/editor-navigation-toolbar/components/icon-pdf-only.js deleted file mode 100644 index 5a487ac6b1..0000000000 --- a/services/web/frontend/js/features/editor-navigation-toolbar/components/icon-pdf-only.js +++ /dev/null @@ -1,25 +0,0 @@ -function IconPdfOnly() { - const color = '#505050' // match color from .dropdown-menu > li > a - - return ( - - - - - - - ) -} - -export default IconPdfOnly diff --git a/services/web/frontend/js/features/editor-navigation-toolbar/components/layout-dropdown-button.js b/services/web/frontend/js/features/editor-navigation-toolbar/components/layout-dropdown-button.js index 26957239cd..725edfe051 100644 --- a/services/web/frontend/js/features/editor-navigation-toolbar/components/layout-dropdown-button.js +++ b/services/web/frontend/js/features/editor-navigation-toolbar/components/layout-dropdown-button.js @@ -6,8 +6,6 @@ import Tooltip from '../../../shared/components/tooltip' import Icon from '../../../shared/components/icon' import IconChecked from '../../../shared/components/icon-checked' import ControlledDropdown from '../../../shared/components/controlled-dropdown' -import IconEditorOnly from './icon-editor-only' -import IconPdfOnly from './icon-pdf-only' import { useLayoutContext } from '../../../shared/context/layout-context' import * as eventTracking from '../../../infrastructure/event-tracking' import useEventListener from '../../../shared/hooks/use-event-listener' @@ -24,10 +22,22 @@ function IconLayout() { return } +function IconSplit() { + return +} + function IconDetach() { return } +function IconEditorOnly() { + return +} + +function IconPdfOnly() { + return +} + function IconCheckmark({ iconFor, pdfLayout, view, detachRole }) { if (detachRole === 'detacher' || view === 'history') { return @@ -164,7 +174,7 @@ function LayoutDropdownButton() { detachRole={detachRole} /> } - icon={} + icon={} text={t('editor_and_pdf')} /> @@ -178,11 +188,7 @@ function LayoutDropdownButton() { detachRole={detachRole} /> } - icon={ - - - - } + icon={} text={ } - icon={ - - - - } + icon={} text={