Skip to content

Commit b8c18e6

Browse files
committed
added button size
1 parent 4a493ee commit b8c18e6

File tree

4 files changed

+14
-18
lines changed

4 files changed

+14
-18
lines changed

assets/js/boot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78332,8 +78332,8 @@ element_ui_lib_locale__WEBPACK_IMPORTED_MODULE_2___default.a.use(element_ui_lib_
7833278332
/*! no static exports found */
7833378333
/***/ (function(module, exports, __webpack_require__) {
7833478334

78335-
__webpack_require__(/*! /Users/zoos/Downloads/sites/wp/wp-content/plugins/wp-crud-project-plugin-with-vuejs/src/js/boot.js */"./src/js/boot.js");
78336-
module.exports = __webpack_require__(/*! /Users/zoos/Downloads/sites/wp/wp-content/plugins/wp-crud-project-plugin-with-vuejs/src/scss/admin/app.scss */"./src/scss/admin/app.scss");
78335+
__webpack_require__(/*! /Users/ruhel-authlab/Sites/wp/wp-content/plugins/wp-crud-project-plugin-with-vuejs/src/js/boot.js */"./src/js/boot.js");
78336+
module.exports = __webpack_require__(/*! /Users/ruhel-authlab/Sites/wp/wp-content/plugins/wp-crud-project-plugin-with-vuejs/src/scss/admin/app.scss */"./src/scss/admin/app.scss");
7833778337

7833878338

7833978339
/***/ })

assets/js/crud_project.js

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ __webpack_require__.r(__webpack_exports__);
190190
//
191191
//
192192
//
193-
//
194193
/* harmony default export */ __webpack_exports__["default"] = ({
195194
name: 'AddNewPost',
196195
data: function data() {
@@ -2498,19 +2497,15 @@ var render = function() {
24982497
_c(
24992498
"el-button",
25002499
{
2501-
attrs: { type: "success" },
2500+
attrs: { type: "success", size: "small" },
25022501
on: {
25032502
click: function($event) {
25042503
return _vm.createPost()
25052504
}
25062505
}
25072506
},
25082507
[_vm._v(" Publish ")]
2509-
),
2510-
_vm._v(" "),
2511-
_c("el-button", { attrs: { type: "primary" } }, [
2512-
_vm._v(" Preview ")
2513-
])
2508+
)
25142509
],
25152510
1
25162511
),
@@ -2673,7 +2668,7 @@ var render = function() {
26732668
_c(
26742669
"el-button",
26752670
{
2676-
attrs: { type: "success" },
2671+
attrs: { type: "success", size: "small" },
26772672
on: {
26782673
click: function($event) {
26792674
return _vm.updatePost()
@@ -2690,9 +2685,11 @@ var render = function() {
26902685
attrs: { href: _vm.post.preview_url, target: "_blank" }
26912686
},
26922687
[
2693-
_c("el-button", { attrs: { type: "primary" } }, [
2694-
_vm._v(" Preview ")
2695-
])
2688+
_c(
2689+
"el-button",
2690+
{ attrs: { type: "primary", size: "small" } },
2691+
[_vm._v(" Preview ")]
2692+
)
26962693
],
26972694
1
26982695
)
@@ -3965,7 +3962,7 @@ var routes = [{
39653962
/*! no static exports found */
39663963
/***/ (function(module, exports, __webpack_require__) {
39673964

3968-
module.exports = __webpack_require__(/*! /Users/zoos/Downloads/sites/wp/wp-content/plugins/wp-crud-project-plugin-with-vuejs/src/js/main.js */"./src/js/main.js");
3965+
module.exports = __webpack_require__(/*! /Users/ruhel-authlab/Sites/wp/wp-content/plugins/wp-crud-project-plugin-with-vuejs/src/js/main.js */"./src/js/main.js");
39693966

39703967

39713968
/***/ })

src/js/Components/AddNewPost.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
</el-col>
1111
<el-col :span="4">
1212
<div class="publish-options">
13-
<el-button type="success" @click="createPost()"> Publish </el-button>
14-
<el-button type="primary"> Preview </el-button>
13+
<el-button type="success" size="small" @click="createPost()"> Publish </el-button>
1514
</div>
1615
<div class="categories-options">
1716
<el-divider> <h3>Category </h3> </el-divider>

src/js/Components/EditPost.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
</el-col>
1212
<el-col :span="4">
1313
<div class="publish-options">
14-
<el-button type="success" @click="updatePost()"> Update </el-button>
14+
<el-button type="success" size="small" @click="updatePost()"> Update </el-button>
1515
<a :href="post.preview_url" target="_blank" class="crud-preview">
16-
<el-button type="primary"> Preview </el-button>
16+
<el-button type="primary" size="small"> Preview </el-button>
1717
</a>
1818
</div>
1919
<div class="categories-options">

0 commit comments

Comments
 (0)