Skip to content

Commit

Permalink
Layout change
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-vasconcelos committed Apr 16, 2024
1 parent e047008 commit 0437e3d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ export default function FrontendLinesContent() {

return (
<div className={`${styles.container} ${!frontendLinesContext?.entities?.line?.id && styles.isHidden}`}>
<div className={styles.map}>
<FrontendLinesMap />
</div>
<div className={styles.sidebar}>
{frontendLinesContext?.entities?.line?.id ?
<>
Expand All @@ -40,9 +43,6 @@ export default function FrontendLinesContent() {
<NoDataLabel text={t('no_selection')} />
}
</div>
<div className={styles.map}>
<FrontendLinesMap />
</div>
</div>
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

.container {
display: grid;
grid-template-columns: 5fr 6fr;
grid-template-columns: 6fr 5fr;
grid-template-rows: 800px;
width: 100%;
border-top: 1px solid var(--gray3);
Expand Down Expand Up @@ -43,7 +43,7 @@
/* MAP */

.map {
border-left: 1px solid var(--gray3);
border-right: 1px solid var(--gray3);
}

@media (max-width: 900px) {
Expand Down
2 changes: 1 addition & 1 deletion nextjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@carrismetropolitana/website",
"version": "2024.04.16-2330",
"version": "2024.04.17-0022",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down

0 comments on commit 0437e3d

Please sign in to comment.