Skip to content

Commit

Permalink
fix: revamp max width 1920x1080 (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
lacerdamurilo authored Jan 9, 2025
1 parent 6bda5d2 commit 9a5fa78
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
8 changes: 1 addition & 7 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,7 @@ const NavigationRoute = ({ internalScreen: InternalScreen }) => {
const newUiEnabled = useNewUiEnabled();

return (
<div
style={{
display: 'flex',
flexDirection: 'column',
minHeight: '100%',
}}
>
<div className="limit-section">
<Navigation />
<div style={{ flex: 1 }}>
<InternalScreen />
Expand Down
11 changes: 10 additions & 1 deletion src/newUi.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,14 @@ body {
purpleHathor: $purpleHathor;
}

.limit-section {
display: flex;
flex-direction: column;
min-height: 100%;
max-width: 1440px;
margin: 0 auto;
}

.nav-title {
color: var(--bold-text-color);
white-space: nowrap;
Expand Down Expand Up @@ -951,6 +959,7 @@ nav {
padding: 0px 0px 17px 0px;
bottom: 220px;
width: 100%;
left: 0;
}

.new-hathor-alert {
Expand Down Expand Up @@ -1557,7 +1566,7 @@ nav {

.new-timeseries-iframe {
display: flex;
height: 2300px;
height: 1080px;
width: 100%;
border: none;
}
Expand Down

0 comments on commit 9a5fa78

Please sign in to comment.