开发工具告诉我 Firefox 不支持适合的内容。有人可以说我应该写什么来代替 fit-content.
.main--5 {
position: relative;
max-width: 100%;
background-color: var(--firstColor);
height: fit-content;
opacity: 100 !important;
visibility: visible !important;
pointer-events: auto !important;
display: block;
display: none;
padding: 1.6rem;
overflow-y: hidden;
}