Skip to content
Snippets Groups Projects
Commit b07b694b authored by Ron Lucke's avatar Ron Lucke Committed by Elmar Ludwig
Browse files

fixes #457

parent b940d493
No related branches found
No related tags found
No related merge requests found
...@@ -1791,7 +1791,8 @@ d i a l o g ...@@ -1791,7 +1791,8 @@ d i a l o g
overflow-x: auto; overflow-x: auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0.2em; padding: 3px;
margin: 3px;
max-height: 98vh; max-height: 98vh;
.studip-dialog-header, .studip-dialog-header,
......
...@@ -97,6 +97,7 @@ ...@@ -97,6 +97,7 @@
import { FocusTrap } from 'focus-trap-vue'; import { FocusTrap } from 'focus-trap-vue';
import VueResizeable from 'vrp-vue-resizable'; import VueResizeable from 'vrp-vue-resizable';
let uuid = 0; let uuid = 0;
const dialogPadding = 3;
export default { export default {
name: 'studip-dialog', name: 'studip-dialog',
...@@ -191,10 +192,10 @@ export default { ...@@ -191,10 +192,10 @@ export default {
} }
}, },
dialogWidth() { dialogWidth() {
return this.currentWidth ? this.currentWidth + 'px' : 'unset'; return this.currentWidth ? (this.currentWidth - dialogPadding * 4) + 'px' : 'unset';
}, },
dialogHeight() { dialogHeight() {
return this.currentHeight ? this.currentHeight + 'px' : 'unset'; return this.currentHeight ? (this.currentHeight - dialogPadding * 4) + 'px' : 'unset';
}, },
contentHeight() { contentHeight() {
return this.currentHeight ? this.currentHeight - this.footerHeight + 'px' : 'unset'; return this.currentHeight ? this.currentHeight - this.footerHeight + 'px' : 'unset';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment