共享门户:能力上架等按钮在两屏、三屏等情况时位置错乱,希望位置相对固定

This commit is contained in:
a0049873 2022-12-29 17:12:03 +08:00
parent abc52acd9b
commit 0e6c8541b8
1 changed files with 18 additions and 2 deletions

View File

@ -557,8 +557,6 @@
height: 3rem; height: 3rem;
display: flex; display: flex;
position: fixed; position: fixed;
bottom: 1.56rem;
right: 0rem;
z-index: 10; z-index: 10;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
@ -615,4 +613,22 @@
background-size: 140% 126%; background-size: 140% 126%;
background-position: center; background-position: center;
} }
@media only screen and (max-width: 1920px) {
.fixedmount {
bottom: 1.56rem;
right: 0rem;
}
}
@media only screen and (min-width: 1921px) and (max-width: 3840px) {
.fixedmount {
bottom: 1.56rem;
right: 9.6rem;
}
}
@media only screen and (min-width: 3841px) and (max-width: 5760px) {
.fixedmount {
bottom: 1.56rem;
right: 19.2rem;
}
}
</style> </style>