Skip to content

Commit

Permalink
feat: emulate production left space of camac ng
Browse files Browse the repository at this point in the history
  • Loading branch information
MitanOmar committed Nov 18, 2024
1 parent ae10efb commit d061116
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
18 changes: 18 additions & 0 deletions tests/dummy/app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,21 @@
max-height: 100vh;
overflow: hidden;
}

.nav-sidebar {
position: fixed;
left: 0;
bottom: 0;
top: 80px;
overflow-y: auto;
width: 240px;
border-right: 1px solid #dfdfdf;
}

.full-screen-content {
margin-left: 241px;
}

.full-screen-content > div {
height: calc(100vh - 80px);
}
12 changes: 9 additions & 3 deletions tests/dummy/app/templates/application.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,14 @@
</ul>
</div>
</nav>

<main class="uk-height-1-1 uk-overflow-auto">
<aside class="nav-sidebar uk-navbar-container">
<div class="subnav-header">
<p>This panel is to emulate the side panel of camac ng</p>
<br>
<p>This is not a part of <strong>ember-alexandria</strong> package</p>
</div>
</aside>
<div class="full-screen-content">
{{outlet}}
</main>
</div>
</div>

0 comments on commit d061116

Please sign in to comment.