File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 11<template >
22 <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
66 xmlns =" http://www.w3.org/2000/svg"
77 width =" 24"
88 height =" 24"
1515 class =" feather feather-x cursor-pointer"
1616 @click =" closeBanner()"
1717 ><line x1 =" 18" y1 =" 6" x2 =" 6" y2 =" 18" /><line x1 =" 6" y1 =" 6" x2 =" 18" y2 =" 18" />
18- </svg >
18+ </svg ></ div >
1919 </div >
2020</template >
2121
@@ -51,18 +51,17 @@ function closeBanner () {
5151.demo-banner {
5252 background-color : #f5b14a ;
5353 color : #000 ;
54- width : 100% ;
5554 padding : 10px ;
5655 text-align : center ;
57- /* position: fixed; */
58- top : 0 ;
59- left : 0 ;
56+ width : 100% ;
6057 z-index : 1000 ;
6158 display : flex ;
59+ justify-content : center ;
60+ align-items : center ;
6261}
6362
64- .feather {
65- align-self : center ;
63+ #closeButton {
64+ padding-inline : 10 px ;
6665}
6766
6867.feather :hover {
You can’t perform that action at this time.
0 commit comments