Browse Source

fix site message sticky

Michael Wang 5 năm trước cách đây
mục cha
commit
bc27480ce3
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  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);