fix: text overflow style

This commit is contained in:
Steven 2022-08-24 22:11:56 +08:00
parent 466bfe4b49
commit 2f58032ad8
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@
}
> .memo-content-container {
@apply flex flex-col justify-start items-start w-full p-0 text-base;
@apply flex flex-col justify-start items-start w-auto overflow-x-hidden p-0 text-base;
> .images-container {
@apply flex flex-col justify-start items-start mt-1 w-full;

View File

@ -12,7 +12,7 @@
}
> .memos-wrapper {
@apply relative flex-grow 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 overflow-x-hidden;
> .memos-editor-wrapper {
@apply sticky top-0 w-full h-full flex flex-col justify-start items-start z-10;

View File

@ -2,7 +2,7 @@
@import "./memo-content.less";
.memo-wrapper {
@apply flex flex-col justify-start items-start w-full max-w-full p-4 pt-3 mt-2 bg-white rounded-lg border border-white hover:border-gray-200;
@apply flex flex-col justify-start items-start w-full shrink overflow-x-hidden p-4 pt-3 mt-2 bg-white rounded-lg border border-white hover:border-gray-200;
&.archived-memo {
@apply border-gray-200;