better styletool on iPhone

This commit is contained in:
hiroshisuga 2023-02-11 13:25:36 +09:00 committed by GitHub
parent 0c8c48d4ef
commit 720501aa29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -264,6 +264,10 @@ const PresentationMenu = (props) => {
if (undoCtrls?.style) {
undoCtrls.style = "padding:0px";
}
const styleTool = document.getElementById('TD-Styles')?.parentNode;
if (styleTool?.style) {
styleTool.style = "right:0px";
}
return null
};