Skip to content

Commit 930af29

Browse files
committed
fix button position
1 parent b92b2dc commit 930af29

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

includes/Classifai/Features/ImageGeneration.php

-3
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,6 @@ public function print_media_templates() {
345345
</select>
346346
</label>
347347
</div>
348-
<?php if ( $per_image_settings ) : ?>
349-
<br>
350-
<?php endif; ?>
351348
<button type="button" class="button button-secondary button-large button-generate">
352349
<?php
353350
if ( $number_of_images > 1 ) {

src/js/features/image-generation/media-modal/index.scss

+7-2
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,15 @@
9494
font-size: 15px;
9595
padding: 10px 0;
9696
}
97+
98+
button.button-generate {
99+
margin-top: 10px;
100+
display: block;
101+
}
97102
}
98103

99104
#view-additional-image-generation-settings {
100-
margin: 10px 3px 15px 0;
105+
margin: 10px 3px 5px 0;
101106
display: inline-block;
102107

103108
&:checked ~ .additional-image-generation-settings.hidden {
@@ -107,7 +112,7 @@
107112

108113
#view-additional-image-generation-settings-label {
109114
display: inline-block;
110-
margin: 10px 0 15px;
115+
margin: 10px 0 5px;
111116
cursor: pointer;
112117
}
113118

0 commit comments

Comments
 (0)