@@ -1074,6 +1074,7 @@ export class CabinetFile extends ScopedElementsMixin(DBPCabinetLitElement) {
10741074 commonStyles . getRadioAndCheckboxCss ( ) ,
10751075 formElements . getFieldsetCSS ( ) ,
10761076 getSelectorFixCSS ( ) ,
1077+
10771078 // language=css
10781079 css `
10791080 h3 {
@@ -1267,7 +1268,7 @@ export class CabinetFile extends ScopedElementsMixin(DBPCabinetLitElement) {
12671268 margin: 0;
12681269 }
12691270
1270- @media (min-width: 490px) and (max-width: 767px ) {
1271+ @media (min-width: 490px) and (max-width: 768px ) {
12711272 #document-modal .content {
12721273 display: flex;
12731274 flex-direction: column;
@@ -1294,6 +1295,14 @@ export class CabinetFile extends ScopedElementsMixin(DBPCabinetLitElement) {
12941295 #document-modal ul {
12951296 padding: 10px 15px;
12961297 }
1298+ #document-modal dbp-select.actions-dropdown-doc-edit {
1299+ --dbp-select-menu-left: 0;
1300+ --dbp-select-menu-right: auto;
1301+ }
1302+ #document-modal dbp-select.download-dropdown {
1303+ --dbp-select-menu-left: 0;
1304+ --dbp-select-menu-right: auto;
1305+ }
12971306 }
12981307 @media (max-width: 490px) {
12991308 #document-modal .content {
@@ -1315,6 +1324,14 @@ export class CabinetFile extends ScopedElementsMixin(DBPCabinetLitElement) {
13151324 #document-modal .description {
13161325 flex-wrap: wrap;
13171326 }
1327+ #document-modal dbp-select.download-dropdown {
1328+ --dbp-select-menu-left: auto;
1329+ --dbp-select-menu-right: 0;
1330+ }
1331+ #document-modal dbp-select.actions-dropdown-doc-edit {
1332+ --dbp-select-menu-left: 0;
1333+ --dbp-select-menu-right: auto;
1334+ }
13181335 }
13191336 ` ,
13201337 ] ;
@@ -1474,7 +1491,6 @@ export class CabinetFile extends ScopedElementsMixin(DBPCabinetLitElement) {
14741491
14751492 return html `
14761493 < dbp-select
1477- align ="right "
14781494 label =${ i18n . t ( 'doc-modal-select-version' ) }
14791495 .options =${ versionOptions }
14801496 @change=${ this . onChangeVersion } > </ dbp-select >
@@ -1610,6 +1626,7 @@ export class CabinetFile extends ScopedElementsMixin(DBPCabinetLitElement) {
16101626 < dbp-select
16111627 id ="download-dropdown "
16121628 class =" ${ classMap ( {
1629+ 'download-dropdown' : true ,
16131630 hidden : this . mode !== CabinetFile . Modes . VIEW ,
16141631 } ) } "
16151632 ?disabled =${ ! file }
@@ -1699,6 +1716,7 @@ export class CabinetFile extends ScopedElementsMixin(DBPCabinetLitElement) {
16991716 return html `
17001717 < dbp-select
17011718 id ="action-dropdown "
1719+ class ="actions-dropdown-doc-edit "
17021720 ?disabled =${ ! file }
17031721 label ="${ i18n . t ( 'doc-modal-Actions' ) } "
17041722 .options=${ options }
0 commit comments