Skip to content

Commit c73fa32

Browse files
authored
Merge pull request #3076 from nextcloud/fix/filter-names
fix(ImageEditor): adjust line height to make filter names visible
2 parents 1a6ba16 + 1180f18 commit c73fa32

5 files changed

Lines changed: 11 additions & 10 deletions

File tree

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/viewer-init.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* extracted by css-entry-points-plugin */
2-
@import './init-BedwYrti.chunk.css';
2+
@import './init-DmEQdDLc.chunk.css';
33
@import './previewUtils-6cpbKhU6.chunk.css';
44
@import './NcActionButton-DyH89PpO.chunk.css';
55
@import './NcActionLink-Cay-IPuV.chunk.css';

js/viewer-init.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

js/viewer-init.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/ImageEditor.vue

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ export default {
400400
label,
401401
button {
402402
color: var(--color-main-text);
403+
line-height: var(--default-line-height, 1.5) !important;
403404
> span {
404405
font-size: var(--default-font-size) !important;
405406
}
@@ -410,8 +411,8 @@ export default {
410411
display: flex;
411412
align-items: center;
412413
justify-content: center;
413-
min-width: 44px;
414-
min-height: 44px;
414+
min-width: var(--default-clickable-area);
415+
min-height: var(--default-clickable-area);
415416
padding: 6px 12px;
416417
}
417418
}
@@ -432,7 +433,7 @@ export default {
432433
433434
// Global buttons
434435
.SfxButton-root {
435-
min-height: 44px !important;
436+
min-height: var(--default-clickable-area) !important;
436437
margin: 0 !important;
437438
border: transparent !important;
438439
&[color='error'] {
@@ -456,7 +457,7 @@ export default {
456457
457458
// Menu items
458459
.SfxMenuItem-root {
459-
height: 44px;
460+
height: var(--default-clickable-area);
460461
padding-left: 8px !important;
461462
// Center the menu entry icon and fix width
462463
> div {
@@ -568,8 +569,8 @@ export default {
568569
display: flex;
569570
align-items: center;
570571
justify-content: center;
571-
min-width: 44px;
572-
height: 44px;
572+
min-width: var(--default-clickable-area);
573+
height: var(--default-clickable-area);
573574
padding: 6px 16px;
574575
border-radius: var(--border-radius-pill);
575576
}

0 commit comments

Comments
 (0)