소스 검색

fix site message sticky

Michael Wang 5 년 전
부모
커밋
bc27480ce3
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  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);