From c09ad0e0f73b23f4c5241b5bbce90c350d24c834 Mon Sep 17 00:00:00 2001 From: Oleksandr Dzhychko Date: Wed, 2 Sep 2026 14:03:09 +0000 Subject: [PATCH 1/2] chore(editor): remove dead code Signed-off-by: Oleksandr Dzhychko --- .../Properties/PropertyCalendarPicker.vue | 80 ------------------- 1 file changed, 80 deletions(-) delete mode 100644 src/components/Editor/Properties/PropertyCalendarPicker.vue diff --git a/src/components/Editor/Properties/PropertyCalendarPicker.vue b/src/components/Editor/Properties/PropertyCalendarPicker.vue deleted file mode 100644 index ef430d01ab..0000000000 --- a/src/components/Editor/Properties/PropertyCalendarPicker.vue +++ /dev/null @@ -1,80 +0,0 @@ - - - - - From de3e6206a17a19086245389829c47fc84590a17e Mon Sep 17 00:00:00 2001 From: Oleksandr Dzhychko Date: Thu, 3 Sep 2026 10:02:48 +0000 Subject: [PATCH 2/2] fix(editor): correct width of property select for narrow view Signed-off-by: Oleksandr Dzhychko --- .../Editor/Properties/PropertySelect.vue | 26 ++++++++++--------- src/styles/app-full.scss | 9 ++++--- src/views/EditFull.vue | 14 ---------- 3 files changed, 19 insertions(+), 30 deletions(-) diff --git a/src/components/Editor/Properties/PropertySelect.vue b/src/components/Editor/Properties/PropertySelect.vue index f18630e0b6..d3832d7021 100644 --- a/src/components/Editor/Properties/PropertySelect.vue +++ b/src/components/Editor/Properties/PropertySelect.vue @@ -6,8 +6,7 @@ @@ -83,12 +82,15 @@ export default { diff --git a/src/styles/app-full.scss b/src/styles/app-full.scss index e0568a7ac9..a04c079d7a 100644 --- a/src/styles/app-full.scss +++ b/src/styles/app-full.scss @@ -62,7 +62,12 @@ align-items: center; gap: calc(var(--default-grid-baseline) * 4); justify-content: flex-start; + // This is the usuall size of input and selects provided by @nextcloud/vue. + // We never want to be smaller. + min-height: var(--default-clickable-area); +} +.property-select-multiple, .property-color, .property-repeat__summary { &__input { width: unset !important; flex-grow: 1; @@ -382,7 +387,3 @@ textarea { padding: 5px 12px !important; } - -.property-select__input { - height: 34px; -} diff --git a/src/views/EditFull.vue b/src/views/EditFull.vue index 8b7b23fd09..6df36a5dd0 100644 --- a/src/views/EditFull.vue +++ b/src/views/EditFull.vue @@ -957,12 +957,6 @@ export default { flex-direction: column; gap: calc(var(--default-grid-baseline) * 4); - :deep(.property-select__input) { - max-width: calc(var(--total-width) * 1 / 3 - var(--column-gap) / 2 - 36px); - display: flex; - align-items: center; - } - .multiselect__tag { padding: var(--default-grid-baseline); border-radius: var(--border-radius-element); @@ -995,10 +989,6 @@ export default { @media screen and (max-width: 915px) { .app-full-body__right { width: calc(var(--total-width) * 2 / 3 - var(--column-gap) / 2) !important; - - .property-select__input { - max-width: 100% !important; - } } } @@ -1029,10 +1019,6 @@ export default { @media screen and (max-width: 840px) { .app-full-footer__right { width: calc(var(--total-width) * 2 / 3 - var(--column-gap) / 2) !important; - - .property-select__input { - max-width: 100% !important; - } } }