Browse Source

Improve layout

pull/612/head
Guillaume Vincent 3 years ago
parent
commit
0a3f3eb24b
4 changed files with 20 additions and 22 deletions
  1. +1
    -1
      packages/lesspass-pure/package.json
  2. +6
    -4
      packages/lesspass-pure/src/LessPass.vue
  3. +12
    -16
      packages/lesspass-pure/src/views/Passwords.vue
  4. +1
    -1
      packages/lesspass-pure/src/views/Settings.vue

+ 1
- 1
packages/lesspass-pure/package.json View File

@@ -1,6 +1,6 @@
{
"name": "lesspass-pure",
"version": "9.4.1",
"version": "9.4.2",
"description": "LessPass web component",
"license": "GPL-3.0",
"author": "Guillaume Vincent <guillaume@oslab.fr>",


+ 6
- 4
packages/lesspass-pure/src/LessPass.vue View File

@@ -4,17 +4,19 @@
}

.lesspass--full-width #lesspass {
max-width: none !important;
overflow: auto;
width: 100%;
}

#lesspass {
color: #464646;
max-width: 420px;
width: 420px;
max-width: 100%;
}

.lesspass__inner-box {
min-height: 240px;
height: 400px;
overflow-x: hidden;
overflow-y: auto;
}

@media (max-width: 419px) {


+ 12
- 16
packages/lesspass-pure/src/views/Passwords.vue View File

@@ -1,6 +1,6 @@
<style>
#passwords__list {
min-height: 11rem;
min-height: 250px;
}

#passwords__pagination .pagination {
@@ -13,20 +13,16 @@
</style>
<template>
<div id="passwords">
<div id="passwords__search" class="pb-3">
<div class="row">
<div class="col">
<div class="inner-addon left-addon">
<i class="fa fa-search"></i>
<input
class="form-control"
type="text"
name="search"
:placeholder="$t('Search')"
v-model="searchQuery"
/>
</div>
</div>
<div id="passwords__search" class="mb-4">
<div class="inner-addon left-addon">
<i class="fa fa-search"></i>
<input
class="form-control"
type="text"
name="search"
:placeholder="$t('Search')"
v-model="searchQuery"
/>
</div>
</div>
<div id="passwords__list">
@@ -93,7 +89,7 @@ export default {
searchQuery: "",
pagination: {
pageCount: 1,
perPage: 4,
perPage: 5,
currentPage: 1
}
};


+ 1
- 1
packages/lesspass-pure/src/views/Settings.vue View File

@@ -72,7 +72,7 @@
</small>
</label>
</div>
<div>
<div class="mb-3">
<button
type="submit"
id="btn-submit-settings"


Loading…
Cancel
Save