Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed overlay size, Upgrade axios & gitignore modify #1

Merged
merged 2 commits into from
May 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
package-lock.json
dist2
yarn.lock
2 changes: 1 addition & 1 deletion dist/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/app.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions dist/js/app.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/*! VelocityJS.org (1.5.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */

/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
2 changes: 1 addition & 1 deletion dist/js/vendor.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/vendor.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.6.12
* (c) 2014-2020 Evan You
* Vue.js v2.7.14
* (c) 2014-2022 Evan You
* Released under the MIT License.
*/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"dependencies": {
"axios": "^0.20.0",
"axios": "^1.4.0",
"velocity-animate": "^1.5.2",
"vue": "^2.6.12",
"vue-click-outside": "^1.1.0",
Expand Down
2 changes: 0 additions & 2 deletions src/components/EditSinglePost.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
<form @keydown.esc="close()" @submit.prevent="save()" @reset.prevent="reset()" class="w-full flex flex-wrap justify-between items-center">
<p class="text-lg text-teal-600">Editing Customer id: <span class="font-medium">{{edit_id}}</span></p>
<div class="flex flex-wrap items-center justify-center">
<!-- <a class="bg-teal-500 hover:bg-teal-400 focus:bg-teal-400 mr-4 focus:outline-none select-none text-lg rounded p-2 shadow-md hover:shadow-none duration-300 transition-colors" :href="'/wp-admin/user-edit.php?user_id='+edit_id+'&wp_http_referer=%2Fwp-admin%2Fusers.php'" target="_blank"> -->
<a class="text-teal-500 hover:text-gray-400 focus:text-gray-400 mr-3 focus:outline-none focus:shadow-none select-none duration-300 transition-colors" :href="'/wp-admin/user-edit.php?user_id='+edit_id+'&wp_http_referer=%2Fwp-admin%2Fusers.php'" target="_blank">
<svg class="w-6 h-6 inline-block fill-current" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M5 7a1 1 0 00-1 1v11a1 1 0 001 1h11a1 1 0 001-1v-6a1 1 0 112 0v6a3 3 0 01-3 3H5a3 3 0 01-3-3V8a3 3 0 013-3h6a1 1 0 110 2H5zM14 3c0-.6.4-1 1-1h6c.6 0 1 .4 1 1v6a1 1 0 11-2 0V4h-5a1 1 0 01-1-1z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M21.7 2.3c.4.4.4 1 0 1.4l-11 11a1 1 0 01-1.4-1.4l11-11a1 1 0 011.4 0z" clip-rule="evenodd"/></svg>
</a>
<button type="button" @click.prevent="close" class="focus:outline-none focus:shadow-none select-none text-red-600 focus:text-gray-400 hover:text-gray-400 duration-300 transition-colors">
<svg class="w-7 h-7 inline-block fill-current" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M18.7 5.3c.4.4.4 1 0 1.4l-12 12a1 1 0 01-1.4-1.4l12-12a1 1 0 011.4 0z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M5.3 5.3a1 1 0 011.4 0l12 12a1 1 0 01-1.4 1.4l-12-12a1 1 0 010-1.4z" clip-rule="evenodd"/></svg>
<!-- <svg class="w-8 h-8 inline-block fill-current transform rotate-45" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M12 4c.6 0 1 .4 1 1v14a1 1 0 11-2 0V5c0-.6.4-1 1-1z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M4 12c0-.6.4-1 1-1h14a1 1 0 110 2H5a1 1 0 01-1-1z" clip-rule="evenodd"/></svg> -->
</button>
</div>
<div class="pt-4 pb-2 grid grid-cols-2 gap-2">
Expand Down
2 changes: 1 addition & 1 deletion src/components/SearchFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</div>
</div>
</div>
<div :class="editing_status ? 'popup-container' : 'hidden'" class="w-full -ml-4 min-h-full flex flex-wrap justify-center items-start pt-40 absolute top-0 overflow-hidden">
<div :class="editing_status ? 'popup-container' : 'hidden'" class="w-full -ml-4 min-h-screen flex flex-wrap justify-center items-start pt-40 absolute top-0 overflow-hidden">
<zoom-center-transition>
<EditSinglePost :edit_id="edit_id" v-if="editing_status" @close_this="close_editing"/>
</zoom-center-transition>
Expand Down