File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 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" >
3231</template >
3332
3433<script >
35- import Background from ' @theme/components/Background'
36-
3734export 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 :600 px ;
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
You can’t perform that action at this time.
0 commit comments