Skip to content

Commit d975d9d

Browse files
author
reco_luan
committed
fix: fix style err in password page
1 parent 18596d1 commit d975d9d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

components/Password.vue

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<template>
22
<div class="password-shadow" :class="{'is-home': !isPage}">
3-
<!-- <Background /> -->
43
<h3 class="title">{{isPage ? $frontmatter.title : $site.title}}</h3>
54
<p class="description" v-if="!isPage">{{$site.description}}</p>
65
<label class="inputBox" id="box">
@@ -32,10 +31,7 @@
3231
</template>
3332

3433
<script>
35-
import Background from '@theme/components/Background'
36-
3734
export default {
38-
components: { Background },
3935
props: {
4036
isPage: {
4137
type: Boolean,
@@ -157,6 +153,7 @@ export default {
157153
padding-left 20px
158154
box-sizing border-box
159155
opacity 0.9
156+
overflow hidden
160157
input{
161158
width:600px;
162159
height:100%;
@@ -168,6 +165,7 @@ export default {
168165
outline: none;
169166
position: absolute;
170167
bottom:0;
168+
left 20px
171169
opacity 0
172170
font-size 50px
173171
&:focus {
@@ -249,7 +247,7 @@ export default {
249247
box-sizing border-box
250248
opacity 0.9
251249
input{
252-
width:600px;
250+
width: 60%;
253251
height:100%;
254252
border:none;
255253
padding:0;
@@ -313,7 +311,7 @@ export default {
313311
@media (max-width: $MQNarrow) {
314312
.inputBox{
315313
padding-left $mobileSidebarWidth
316-
}
314+
}
317315
}
318316
}
319317

0 commit comments

Comments
 (0)