Skip to content

Commit

Permalink
Sidebar fix
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Jun 28, 2018
1 parent 1df6d31 commit 723ec29
Show file tree
Hide file tree
Showing 4 changed files with 3,810 additions and 141 deletions.
8 changes: 4 additions & 4 deletions core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,6 @@ kbd {
> .section:first-child {
border-top: none;
}
&.with-app-sidebar {
margin-right: 27%;
}
}

/* APP-SIDEBAR ----------------------------------------------------------------*/
Expand All @@ -617,7 +614,7 @@ kbd {
right: 0;
left: auto;
bottom: 0;
width: 27%;
width: 27vw;
min-width: 300px;
display: block;
background: var(--color-main-background);
Expand Down Expand Up @@ -1016,6 +1013,9 @@ $popovericon-size: 16px;
padding-top: 50px;
box-sizing: border-box;
position: relative;
&.with-app-sidebar {
margin-right: 27vw;
}
}
/* if app-content-list is present */
#app-content-wrapper {
Expand Down
3,927 changes: 3,800 additions & 127 deletions settings/js/settings-vue.js

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions settings/js/settings-vue.js.map

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions settings/src/views/Apps.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
-->

<template>
<div id="content" class="app-settings">
<div id="content" class="app-settings" :class="{ 'with-app-sidebar': currentApp}">
<app-navigation :menu="menu" />
<div id="app-content" class="app-settings-content" :class="{ 'with-app-sidebar': currentApp, 'icon-loading': loadingList }">
<div id="app-content" class="app-settings-content" :class="{ 'icon-loading': loadingList }">
<app-list :category="category" :app="currentApp" :search="searchQuery"></app-list>
<div id="app-sidebar" v-if="id && currentApp">
<app-details :category="category" :app="currentApp"></app-details>
</div>
</div>
<div id="app-sidebar" v-if="id && currentApp">
<app-details :category="category" :app="currentApp"></app-details>
</div>
</div>
</template>
Expand Down

0 comments on commit 723ec29

Please sign in to comment.