mirror of
https://github.com/nextcloud/passman.git
synced 2025-10-06 11:35:50 +08:00
Fixed main password list width with sidebar opened
Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
This commit is contained in:
parent
da4bd08878
commit
8db4346608
3 changed files with 12 additions and 10 deletions
|
@ -25,14 +25,16 @@
|
||||||
padding-top: 47px !important; // 45px but +2 because of borders
|
padding-top: 47px !important; // 45px but +2 because of borders
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-content{
|
//this fixes the scrollbars, because passman-contols are shown above the sidebar.
|
||||||
//width: calc(100% - 300px);
|
#app-sidebar{
|
||||||
margin-left: 300px;
|
height: auto;
|
||||||
width: calc(100vw - 300px);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#app-content {
|
#app-content {
|
||||||
|
margin-left: 300px;
|
||||||
|
width: calc(100vw - 300px);
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
||||||
//width: 100%;
|
//width: 100%;
|
||||||
#app-content-wrapper {
|
#app-content-wrapper {
|
||||||
min-height: 95%;
|
min-height: 95%;
|
||||||
|
@ -41,7 +43,7 @@
|
||||||
#passman-controls {
|
#passman-controls {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
&.sidebar-shown {
|
&.sidebar-shown {
|
||||||
padding-right: 27% !important;
|
//padding-right: 27% !important;
|
||||||
.title {
|
.title {
|
||||||
@media screen and (max-width: 765px) {
|
@media screen and (max-width: 765px) {
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -177,9 +177,9 @@ style('passman', 'app');
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="app-content" class="testwithborder1">
|
<div id="app-content">
|
||||||
<div id="app-content-wrapper" class="testwithborder2">
|
<div id="app-content-wrapper">
|
||||||
<div id="content" ng-view="" class="testwithborder3">
|
<div id="content" ng-view="">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
<div class="loaderContainer" ng-if="show_spinner">
|
<div class="loaderContainer" ng-if="show_spinner">
|
||||||
<div class="loader" use-theme type="'border-bottom-color'"></div>
|
<div class="loader" use-theme type="'border-bottom-color'"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="testwithborder" ng-init="menuOpen = false;">
|
<div ng-init="menuOpen = false;">
|
||||||
<table class="credential-table"
|
<table class="credential-table"
|
||||||
ng-if="view_mode === 'list'">
|
ng-if="view_mode === 'list'">
|
||||||
<tr ng-repeat="credential in filtered_credentials | orderBy:'label'"
|
<tr ng-repeat="credential in filtered_credentials | orderBy:'label'"
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="app-sidebar" class="app-sidebar"
|
<div id="app-sidebar" class="app_sidebar"
|
||||||
ng-show="selectedCredential">
|
ng-show="selectedCredential">
|
||||||
<h2>{{selectedCredential.label}}</h2>
|
<h2>{{selectedCredential.label}}</h2>
|
||||||
<span class="close icon-close" ng-click="closeSelected()"
|
<span class="close icon-close" ng-click="closeSelected()"
|
||||||
|
|
Loading…
Add table
Reference in a new issue