瀏覽代碼

Improve layout

pull/612/head
Guillaume Vincent 3 年之前
父節點
當前提交
0a3f3eb24b
共有 4 個文件被更改,包括 20 次插入22 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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


Loading…
取消
儲存