Skip to content

Commit

Permalink
reverted css changes on modal. Submit button will be off the bottom f…
Browse files Browse the repository at this point in the history
…or now
  • Loading branch information
rob-a-ubiquity committed Sep 11, 2024
1 parent 5973dd0 commit ccc2332
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
5 changes: 2 additions & 3 deletions src/components/Form/Form.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<form
class="pkpForm -pkpClearfix h-full"
class="pkpForm -pkpClearfix"
:method="method"
:action="action"
@keydown.enter.prevent=""
Expand Down Expand Up @@ -151,7 +151,7 @@ export default {
* @return {Array}
*/
classes() {
let classes = ['h-full'];
let classes = [];
if (this.visibleLocales.length > 1) {
classes.push('pkpForm--hasManyVisibleLocales');
}
Expand Down Expand Up @@ -672,7 +672,6 @@ export default {
}
.pkpFormPage--current {
height: 100%;
display: block;
position: relative;
left: auto;
Expand Down
7 changes: 0 additions & 7 deletions src/components/Form/FormPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,6 @@ export default {

<style lang="less">
@import '../../styles/_import';
.vue-modal .pkpFormPage__footer:nth-of-type(n) {
right: 0;
width: 100%;
float: right;
position: absolute;
bottom: 0;
}
.pkpFormPage__footer {
display: flex;
Expand Down
3 changes: 1 addition & 2 deletions src/pages/workflow/WorkflowLogResponseForModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
<template #description>
<span>{{ description }}</span>
</template>
<div class="vue-modal ml-8 mr-8 h-full bg-secondary">
<div class="ml-8 mr-8 h-full bg-secondary">
<PkpForm
class="h-full"
v-bind="store.form"
@success="store.formSuccess"
@set="store.updateForm"
Expand Down

0 comments on commit ccc2332

Please sign in to comment.