File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div v-if =" isDemoMode" id =" banner" class =" demo-banner" >
3
- {{ warning }}<NuxtLink to =" /terms" >
4
- Read our terms.</NuxtLink >
5
- <svg
3
+ < div id = " termsWarning " > {{ warning }}<NuxtLink to =" /terms" >
4
+ Read our terms.</NuxtLink ></ div >
5
+ <div id = " closeButton " > < svg
6
6
xmlns =" http://www.w3.org/2000/svg"
7
7
width =" 24"
8
8
height =" 24"
15
15
class =" feather feather-x cursor-pointer"
16
16
@click =" closeBanner()"
17
17
><line x1 =" 18" y1 =" 6" x2 =" 6" y2 =" 18" /><line x1 =" 6" y1 =" 6" x2 =" 18" y2 =" 18" />
18
- </svg >
18
+ </svg ></ div >
19
19
</div >
20
20
</template >
21
21
@@ -51,18 +51,17 @@ function closeBanner () {
51
51
.demo-banner {
52
52
background-color : #f5b14a ;
53
53
color : #000 ;
54
- width : 100% ;
55
54
padding : 10px ;
56
55
text-align : center ;
57
- /* position: fixed; */
58
- top : 0 ;
59
- left : 0 ;
56
+ width : 100% ;
60
57
z-index : 1000 ;
61
58
display : flex ;
59
+ justify-content : center ;
60
+ align-items : center ;
62
61
}
63
62
64
- .feather {
65
- align-self : center ;
63
+ #closeButton {
64
+ padding-inline : 10 px ;
66
65
}
67
66
68
67
.feather :hover {
You can’t perform that action at this time.
0 commit comments