mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Merge pull request '[PE ][mobile] icon connection' (#310) from fix/mobile-svg into develop
This commit is contained in:
@ -14,6 +14,8 @@ import IconAddOtherIos from '@common-ios-icons/icon-add-other.svg?ios';
|
||||
import IconAddOtherAndroid from '@common-android-icons/icon-add-other.svg';
|
||||
import IconAddSlideIos from '@ios-icons/icon-add-slide.svg?ios';
|
||||
import IconAddSlideAndroid from '@android-icons/icon-add-slide.svg';
|
||||
import IconExpandDownIos from '@common-ios-icons/icon-expand-down.svg?ios';
|
||||
import IconExpandDownAndroid from '@common-android-icons/icon-expand-down.svg';
|
||||
|
||||
|
||||
const AddLayoutNavbar = ({ tabs }) => {
|
||||
@ -32,7 +34,11 @@ const AddLayoutNavbar = ({ tabs }) => {
|
||||
</div> :
|
||||
<NavTitle>{tabs[0].caption}</NavTitle>
|
||||
}
|
||||
{Device.phone && <NavRight><Link icon='icon-expand-down' popupClose=".add-popup"></Link></NavRight> }
|
||||
{Device.phone && <NavRight><Link popupClose=".add-popup">
|
||||
{Device.ios ?
|
||||
<SvgIcon symbolId={IconExpandDownIos.id} className={'icon icon-svg'} /> :
|
||||
<SvgIcon symbolId={IconExpandDownAndroid.id} className={'icon icon-svg'} />
|
||||
}</Link></NavRight> }
|
||||
</Navbar>
|
||||
)
|
||||
};
|
||||
|
||||
@ -9,6 +9,9 @@ import EditShapeController from "../../controller/edit/EditShape";
|
||||
import EditImageController from "../../controller/edit/EditImage";
|
||||
import EditTableController from "../../controller/edit/EditTable";
|
||||
import EditChartController from "../../controller/edit/EditChart";
|
||||
import SvgIcon from '@common/lib/component/SvgIcon';
|
||||
import IconExpandDownIos from '@common-ios-icons/icon-expand-down.svg?ios';
|
||||
import IconExpandDownAndroid from '@common-android-icons/icon-expand-down.svg';
|
||||
|
||||
const EmptyEditLayout = () => {
|
||||
const { t } = useTranslation();
|
||||
@ -37,7 +40,11 @@ const EditLayoutNavbar = ({ editors }) => {
|
||||
</div> :
|
||||
<NavTitle>{ editors[0].caption }</NavTitle>
|
||||
}
|
||||
{Device.phone && <NavRight><Link icon='icon-expand-down' sheetClose></Link></NavRight> }
|
||||
{Device.phone && <NavRight><Link sheetClose>
|
||||
{Device.ios ?
|
||||
<SvgIcon symbolId={IconExpandDownIos.id} className={'icon icon-svg'} /> :
|
||||
<SvgIcon symbolId={IconExpandDownAndroid.id} className={'icon icon-svg'} />
|
||||
}</Link></NavRight> }
|
||||
</Navbar>
|
||||
)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user