Fixed main password list width

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

View file

@ -20,12 +20,24 @@
*
*/
//override nc style to fix wrong offset
#content {
padding-top: 47px !important; // 45px but +2 because of borders
}
#app-content{
//width: calc(100% - 300px);
margin-left: 300px;
width: calc(100vw - 300px);
}
#app-content {
overflow-x: hidden;
width: 100%;
//width: 100%;
#app-content-wrapper {
min-height: 95%;
width: 100%;
display: block;
//width: 100%;
#passman-controls {
text-align: center;
&.sidebar-shown {
@ -144,10 +156,9 @@
@include border-bottom-radius(3px);
}
}
.credential-table {
/*width: 100%;
margin-top: 44px;
*/
width: calc(100vw - 300px);
tr:hover {
background-color: darken(#fff, 4%);
}

View file

@ -177,9 +177,9 @@ style('passman', 'app');
</div>
</div>
<div id="app-content">
<div id="app-content-wrapper">
<div id="content" ng-view="">
<div id="app-content" class="testwithborder1">
<div id="app-content-wrapper" class="testwithborder2">
<div id="content" ng-view="" class="testwithborder3">
</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 ng-init="menuOpen = false;">
<div class="testwithborder" ng-init="menuOpen = false;">
<table class="credential-table"
ng-if="view_mode === 'list'">
<tr ng-repeat="credential in filtered_credentials | orderBy:'label'"