From 25965634f5c44b724f08491919f714a2056be1e5 Mon Sep 17 00:00:00 2001 From: Ramiro Medina <64783088+ramedina86@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:35:28 +0000 Subject: [PATCH 1/2] fix: Max height --- src/ui/src/core_components/content/CoreDataframe.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ui/src/core_components/content/CoreDataframe.vue b/src/ui/src/core_components/content/CoreDataframe.vue index 2d613db63..5b652231a 100644 --- a/src/ui/src/core_components/content/CoreDataframe.vue +++ b/src/ui/src/core_components/content/CoreDataframe.vue @@ -326,13 +326,9 @@ const gridStyle = computed(() => { .join(" "); } - if (fields.wrapText.value == "yes") { - maxHeight = (displayRowCount.value + 1) * ROW_HEIGHT_PX; - } - return { "min-height": `${ROW_HEIGHT_PX * (1 + fields.displayRowCount.value)}px`, - "max-height": maxHeight ? `${maxHeight}px` : undefined, + "max-height": `${(displayRowCount.value + 1) * ROW_HEIGHT_PX}px`, "font-family": fontStyle == "monospace" ? "monospace" : undefined, "grid-template-columns": templateColumns, "grid-template-rows": `${ROW_HEIGHT_PX}px repeat(${displayRowCount.value}, min-content)`, From 7deabc769dd9cb5a921d9de7e3029a737a8c4d65 Mon Sep 17 00:00:00 2001 From: Ramiro Medina <64783088+ramedina86@users.noreply.github.com> Date: Tue, 25 Jun 2024 12:35:45 +0000 Subject: [PATCH 2/2] chore: Bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 21eb66a24..217785bb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "writer" -version = "0.6.2rc1" +version = "0.6.2rc2" description = "An open-source, Python framework for building feature-rich apps that are fully integrated with the Writer platform." authors = ["Writer, Inc."] readme = "README.md"