Skip to content

Commit

Permalink
small fix for extra wide screens
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Mar 2, 2022
1 parent 2362c26 commit 5cf4c74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/StyleWrapper/stretchStyleDefaultView.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ body:not(.is-authenticated):not(.document_wide_view).stretch {
}

@media screen and (max-width: 1700px) {
body:not(.document_wide_view):not(.view-editview).stretch {
body:not(.document_wide_view):not(.view-editview):not(.is-anonymous):not(.is-authenticated).stretch {
margin-right: 0;
margin-left: 0;
transform: translate(-50%, 0%);
Expand Down
3 changes: 2 additions & 1 deletion src/StyleWrapper/stretchStyleWideView.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ body:not(.is-authenticated):not(.view-defaultview) .stretch {
padding: 0;
margin: 0 -1rem;
transform: none;
max-width: 1780px;
}

/* detect if is logged in but in view with toolbar open */
Expand All @@ -44,7 +45,7 @@ body:not(.is-authenticated):not(.view-defaultview).stretch {
}

@media screen and (max-width: 1700px) {
body:not(.view-defaultview):not(.view-editview) .stretch {
body:not(.view-defaultview):not(.view-editview):not(.is-anonymous):not(.is-authenticated) .stretch {
margin-right: 0;
margin-left: 0;
transform: translate(-50%, 0%);
Expand Down

0 comments on commit 5cf4c74

Please sign in to comment.