-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RNMobile] Fixed position of
FloatingToolbar
on the bottom of the s…
…creen (#21446) * handle FloatingToolbar absolute positioning * support RTL mode by rotate the icons * move FloatingToolbar to packages/components/src/mobile/floating-toolbar * render FloatingToolbar on top for Android and on bottom for iOS * change FloatingToolbar backgroundColor to #e2e2e2
- Loading branch information
Showing
16 changed files
with
176 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
packages/block-editor/src/components/block-list/block-mobile-floating-toolbar.native.js
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
packages/block-editor/src/components/block-list/block-mobile-floating-toolbar.native.scss
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
packages/block-editor/src/components/floating-toolbar/floatingToolbar.android.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.floatingToolbarOffset { | ||
top: 0; | ||
margin-top: 8px; | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/block-editor/src/components/floating-toolbar/floatingToolbar.ios.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.floatingToolbarOffset { | ||
top: - ($mobile-floating-toolbar-height + $mobile-floating-toolbar-margin); | ||
} |
Oops, something went wrong.