Skip to content

Commit

Permalink
fix logo, minor css
Browse files Browse the repository at this point in the history
  • Loading branch information
sapayth committed Oct 25, 2024
1 parent 7590512 commit daae343
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions admin/form-builder/assets/js/form-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@
post_title_editing: false,
isDirty: false,
shortcodeCopied: false,
logoUrl: wpuf_form_builder.assetUrl + '/images/wpuf-icon-circle.svg'
},

computed: {
Expand Down
2 changes: 1 addition & 1 deletion admin/form-builder/views/form-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
class="!wpuf-w-[calc(100%+20px)] !wpuf-initial !wpuf-relative !wpuf-top-0 !wpuf-bg-white !wpuf-p-0 wpuf-ml-[-20px] wpuf-form-builder-<?php echo esc_attr( $form_type ); ?>" method="post" action="" @submit.prevent="save_form_builder" v-cloak>
<div class="wpuf-flex wpuf-bg-white wpuf-px-[20px] wpuf-pt-4 wpuf-justify-between wpuf-items-center wpuf-border-b wpuf-border-slate-200 wpuf-pb-4">
<div class="wpuf-flex">
<img src="https://wpuf.test/wp-content/plugins/wp-user-frontend/assets/images/wpuf-icon-circle.svg" alt="WPUF Icon" class="wpuf-w-12 wpuf-mr-4">
<img :src="logoUrl" alt="WPUF Icon" class="wpuf-w-12 wpuf-mr-4">
<nav class="wpuf-flex wpuf-space-x-8 wpuf-items-center" aria-label="Tabs">
<div class="wpuf-relative wpuf-flex">
<div
Expand Down
3 changes: 0 additions & 3 deletions assets/css/frontend-forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ body {
/* CSS for custom columns */
/* Upload Button */
}
body #wpfooter {
position: fixed !important;
}
body .has-error {
background: #FFE4E4;
padding: 10px;
Expand Down
1 change: 1 addition & 0 deletions assets/js/wpuf-form-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@
post_title_editing: false,
isDirty: false,
shortcodeCopied: false,
logoUrl: wpuf_form_builder.assetUrl + '/images/wpuf-icon-circle.svg'
},

computed: {
Expand Down
3 changes: 0 additions & 3 deletions assets/less/frontend-forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
@mediaMD: 1200px;
/* DivTable.com */
body {
#wpfooter {
position: fixed !important
}
.has-error {
background: #FFE4E4;
padding: 10px;
Expand Down
1 change: 1 addition & 0 deletions includes/Admin/Forms/Admin_Form_Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ public function admin_enqueue_scripts() {
'i18n' => $this->i18n(),
'post' => $post,
'form_fields' => wpuf_get_form_fields( $post->ID ),
'assetUrl' => WPUF_ASSET_URI,
'panel_sections' => wpuf()->fields->get_field_groups(),
'field_settings' => wpuf()->fields->get_js_settings(),
'form_settings' => wpuf_get_form_settings( $post->ID ),
Expand Down

0 comments on commit daae343

Please sign in to comment.