chore: fix editor z-index

This commit is contained in:
boojack 2022-07-10 08:35:36 +08:00
parent 21702b615a
commit 10d710cf03
4 changed files with 5 additions and 6 deletions

View File

@ -12,7 +12,7 @@
}
> .memos-wrapper {
@apply relative w-full max-w-2xl min-h-full flex flex-col justify-start items-start px-4 sm:pr-6;
@apply relative flex-grow max-w-2xl min-h-full flex flex-col justify-start items-start px-4 sm:pr-6;
> .memos-editor-wrapper {
@apply sticky top-0 w-full h-full flex flex-col justify-start items-start z-10;

View File

@ -1,10 +1,10 @@
@import "./mixin.less";
.memo-content-text {
@apply w-full whitespace-pre-wrap break-words text-base leading-7;
@apply w-full whitespace-pre-wrap break-all text-base leading-7;
> p {
@apply inline-block w-full h-auto mb-1 last:mb-0 text-base leading-7 whitespace-pre-wrap break-words;
@apply inline-block w-full h-auto mb-1 last:mb-0 text-base leading-7 whitespace-pre-wrap break-all;
}
.tag-span {

View File

@ -1,7 +1,7 @@
@import "./mixin.less";
.sidebar-wrapper {
@apply fixed sm:sticky top-0 left-0 hidden sm:!flex flex-col justify-start items-start w-64 h-screen py-4 pl-2 z-20 bg-white sm:bg-transparent shadow-2xl sm:shadow-none overflow-x-hidden overflow-y-auto transition-all;
@apply fixed sm:sticky top-0 left-0 hidden sm:!flex flex-col justify-start items-start w-64 h-screen py-4 pl-2 bg-white sm:bg-transparent shadow-2xl sm:shadow-none overflow-x-hidden overflow-y-auto transition-all;
.hide-scroll-bar();
> .close-container {

View File

@ -6,8 +6,7 @@
@stat-day-L4-bg: #216e39;
.usage-heat-map-wrapper {
.flex(row, flex-start, center);
@apply w-full h-32 flex-wrap pr-6 pb-3;
@apply flex flex-row justify-start items-center w-full h-32 flex-wrap pr-6 pb-3;
> .day-tip-text-container {
@apply w-6 h-full grid grid-rows-7;