Skip to content

Commit

Permalink
fix: change EditorToolbar position style
Browse files Browse the repository at this point in the history
Changed ToolbarContainer's position element to be absolute - decaporg#7197
  • Loading branch information
camdenvaughan committed May 6, 2024
1 parent cdd0899 commit 0373211
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
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

0 comments on commit 0373211

Please sign in to comment.