Skip to content

Commit 346fc6f

Browse files
committed
Hotfix digitizer backend popup styling
1 parent 7a6749f commit 346fc6f

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

Resources/views/ElementAdmin/digitizeradmin.html.twig

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<div class="elementForm defaultForm elementFormDigitizer">
22
<style media="all">
3-
.elementFormDigitizer {
4-
width: 100%;
5-
}
6-
73
.elementFormDigitizer label.labelInput {
84
display: block;
95
margin: 0;
@@ -23,10 +19,6 @@
2319
width: 100%;
2420
}
2521
26-
/* Dirty fix */
27-
.popupContainer.modal.show .popupContent, .popupSubContent {
28-
margin-bottom: 0;
29-
}
3022
</style>
3123
<script language="JavaScript">
3224
$(function(){
@@ -155,16 +147,13 @@
155147
// Resize popup dand elements
156148
var popupContainer = $(".popupContainer.modal > .popup");
157149
var yamlEditorElement = $("#elementForm > div > div.inputWrapper.code-yaml > div");
158-
debugger;
159150
160-
popupContainer.css('margin-top', 0);
161151
popupContainer.animate({
162-
width: $(document).width() ,
163-
height: $(window).height() -10
152+
width: '100%'
164153
}, 350);
165154
166155
yamlEditorElement.animate({
167-
height: $(window).height() - 285
156+
height: $(window).height() - 375
168157
}, 350);
169158
})
170159
</script>

0 commit comments

Comments
 (0)