Explorar o código

fix site message sticky

Michael Wang %!s(int64=5) %!d(string=hai) anos
pai
achega
bc27480ce3
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      src/components/MainLayout/SiteMessagePopup.vue

+ 4 - 2
src/components/MainLayout/SiteMessagePopup.vue

@@ -85,9 +85,11 @@ export default {
 
 <style scoped>
 .popup {
-  position: absolute;
+  position: sticky;
   bottom: 20px;
-  right: 20px;
+  left: calc(100%);
+  margin-right: 20px;
+  margin-top: -200px;
   width: 320px;
   height: 200px;
   background: rgba(255, 255, 255, 1);