Skip to content

Commit 23b6ce9

Browse files
committed
selection: make dropdown-menu in batch active doc responsive
Signed-off-by: Shiva Pouya <shiva.pouya@tugraz.at>
1 parent 543816c commit 23b6ce9

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/components/selection-dialog.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,9 +1375,6 @@ export class SelectionDialog extends ScopedElementsMixin(DBPCabinetLitElement) {
13751375
width: 100%;
13761376
}
13771377
1378-
.tab-content {
1379-
}
1380-
13811378
.export-buttons > * {
13821379
width: 100%;
13831380
display: grid;
@@ -1390,13 +1387,20 @@ export class SelectionDialog extends ScopedElementsMixin(DBPCabinetLitElement) {
13901387
grid-template-columns: none;
13911388
min-height: 0;
13921389
}
1390+
1391+
.export-active-select {
1392+
--dbp-select-menu-left: 0;
1393+
--dbp-select-menu-right: auto;
1394+
}
1395+
13931396
.modal-nav {
13941397
flex-direction: row;
13951398
justify-content: space-evenly;
13961399
border-bottom: var(--dbp-border);
13971400
border-top: none;
13981401
border-right: none;
13991402
}
1403+
14001404
.tab-content {
14011405
padding: 20px 0px;
14021406
}
@@ -2036,6 +2040,7 @@ export class SelectionDialog extends ScopedElementsMixin(DBPCabinetLitElement) {
20362040
<div class="export-buttons">
20372041
<dbp-select
20382042
id="export-active-select"
2043+
class="export-active-select"
20392044
label="${i18n.t(
20402045
'selection-dialog.export',
20412046
'Export Documents',

0 commit comments

Comments
 (0)