Fixed main password list width with sidebar opened

Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
This commit is contained in:
Felix Nüsse 2018-09-30 00:21:05 +02:00 committed by fnuesse
parent da4bd08878
commit 8db4346608
No known key found for this signature in database
GPG key ID: 2089A3431243E819
3 changed files with 12 additions and 10 deletions

View file

@ -25,14 +25,16 @@
padding-top: 47px !important; // 45px but +2 because of borders
}
#app-content{
//width: calc(100% - 300px);
margin-left: 300px;
width: calc(100vw - 300px);
//this fixes the scrollbars, because passman-contols are shown above the sidebar.
#app-sidebar{
height: auto;
}
#app-content {
margin-left: 300px;
width: calc(100vw - 300px);
overflow-x: hidden;
//width: 100%;
#app-content-wrapper {
min-height: 95%;
@ -41,7 +43,7 @@
#passman-controls {
text-align: center;
&.sidebar-shown {
padding-right: 27% !important;
//padding-right: 27% !important;
.title {
@media screen and (max-width: 765px) {
display: none;

View file

@ -177,9 +177,9 @@ style('passman', 'app');
</div>
</div>
<div id="app-content" class="testwithborder1">
<div id="app-content-wrapper" class="testwithborder2">
<div id="content" ng-view="" class="testwithborder3">
<div id="app-content">
<div id="app-content-wrapper">
<div id="content" ng-view="">
</div>
</div>

View file

@ -45,7 +45,7 @@
<div class="loaderContainer" ng-if="show_spinner">
<div class="loader" use-theme type="'border-bottom-color'"></div>
</div>
<div class="testwithborder" ng-init="menuOpen = false;">
<div ng-init="menuOpen = false;">
<table class="credential-table"
ng-if="view_mode === 'list'">
<tr ng-repeat="credential in filtered_credentials | orderBy:'label'"
@ -93,7 +93,7 @@
</div>
<div id="app-sidebar" class="app-sidebar"
<div id="app-sidebar" class="app_sidebar"
ng-show="selectedCredential">
<h2>{{selectedCredential.label}}</h2>
<span class="close icon-close" ng-click="closeSelected()"