Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: change EditorToolbar position style #7198

Merged
merged 3 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const DropdownButton = styled(StyledDropdownButton)`
const ToolbarContainer = styled.div`
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05), 0 1px 3px 0 rgba(68, 74, 87, 0.1),
0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`EditorToolbar should render normal save button 1`] = `
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -260,7 +260,7 @@ exports[`EditorToolbar should render normal save button 2`] = `
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -516,7 +516,7 @@ exports[`EditorToolbar should render with default props 1`] = `
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -731,7 +731,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=false 1`
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -1021,7 +1021,7 @@ exports[`EditorToolbar should render with status=draft,useOpenAuthoring=true 1`]
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -1372,7 +1372,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -1662,7 +1662,7 @@ exports[`EditorToolbar should render with status=pending_publish,useOpenAuthorin
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -1990,7 +1990,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -2280,7 +2280,7 @@ exports[`EditorToolbar should render with status=pending_review,useOpenAuthoring
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -2631,7 +2631,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -2851,7 +2851,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -3041,7 +3041,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -3261,7 +3261,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -3481,7 +3481,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down Expand Up @@ -3701,7 +3701,7 @@ exports[`EditorToolbar should render with workflow controls hasUnpublishedChange
<DocumentFragment>
.emotion-0 {
box-shadow: 0 2px 6px 0 rgba(68, 74, 87, 0.05),0 1px 3px 0 rgba(68, 74, 87, 0.1),0 2px 54px rgba(0, 0, 0, 0.1);
position: fixed;
position: absolute;
top: 0;
left: 0;
width: 100%;
Expand Down
Loading