diff --git a/css/index.css b/css/index.css index e929e07..341f1f0 100644 --- a/css/index.css +++ b/css/index.css @@ -223,6 +223,7 @@ editor { } .container .anonymity { margin-left: 0.4rem; + width: fit-content; } .container .anonymity .icon { width: 0.32rem; @@ -250,6 +251,10 @@ editor { padding: 0.34rem 0.3rem 0; box-sizing: border-box; display: flex; + transition: all 0.3s ease-in-out; +} +.container .new-footer-btn.show { + bottom: -2.4rem; } .container .new-footer-btn .save-draft-btn { flex-direction: column; diff --git a/css/index.less b/css/index.less index 0e02045..0ddb4b9 100644 --- a/css/index.less +++ b/css/index.less @@ -264,6 +264,7 @@ editor { .anonymity { margin-left: 0.4rem; + width: fit-content; .icon { width: 0.32rem; @@ -295,6 +296,11 @@ editor { padding: 0.34rem 0.3rem 0; box-sizing: border-box; display: flex; + transition: all 0.3s ease-in-out; + + &.show { + bottom: -2.4rem; + } .save-draft-btn { flex-direction: column; diff --git a/index.html b/index.html index 95f9ea4..20ff421 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ - +
@@ -52,7 +52,7 @@
匿名发布
-