From 85a15175aecd5e6ab8ae74c09049a6dd680f6ac3 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 8 Jun 2024 04:38:39 -0400 Subject: [PATCH] Fix sizing problems in Create Parent dialog Use a regular paragraph for the intro text rather than an input placeholder, which gets cut off it's too long, and allow the window to be sized dynamically based on the title and localized strings. Fixes #4109 --- .../zotero/components/createParent/createParent.jsx | 6 +++--- chrome/content/zotero/createParentDialog.xhtml | 6 ++++-- chrome/locale/en-US/zotero/zotero.ftl | 2 ++ chrome/locale/en-US/zotero/zotero.properties | 2 -- scss/components/_createParent.scss | 13 +++++++++++-- 5 files changed, 20 insertions(+), 9 deletions(-) diff --git a/chrome/content/zotero/components/createParent/createParent.jsx b/chrome/content/zotero/components/createParent/createParent.jsx index 606ca70915..fe68219fc3 100644 --- a/chrome/content/zotero/components/createParent/createParent.jsx +++ b/chrome/content/zotero/components/createParent/createParent.jsx @@ -43,13 +43,13 @@ function CreateParent({ loading, item, toggleAccept }) { return (
- +
{ item.attachmentFilename } - +
+

+ style="padding: 20px 15px; min-width: 500px">