diff --git a/src/components/breadcrumb/Breadcrumb.vue b/src/components/breadcrumb/Breadcrumb.vue
index 0513022bb..37b159fc0 100644
--- a/src/components/breadcrumb/Breadcrumb.vue
+++ b/src/components/breadcrumb/Breadcrumb.vue
@@ -31,36 +31,11 @@ export default {
\ No newline at end of file
diff --git a/src/components/contextmenu/ContextMenu.vue b/src/components/contextmenu/ContextMenu.vue
index b41ba86f2..0265aad0c 100644
--- a/src/components/contextmenu/ContextMenu.vue
+++ b/src/components/contextmenu/ContextMenu.vue
@@ -212,7 +212,6 @@ export default {
diff --git a/src/components/megamenu/MegaMenu.vue b/src/components/megamenu/MegaMenu.vue
index f572e643d..b90aef613 100644
--- a/src/components/megamenu/MegaMenu.vue
+++ b/src/components/megamenu/MegaMenu.vue
@@ -299,10 +299,6 @@ export default {
\ No newline at end of file
diff --git a/src/components/menu/Menu.vue b/src/components/menu/Menu.vue
index 8c03e450e..1743bf6b3 100644
--- a/src/components/menu/Menu.vue
+++ b/src/components/menu/Menu.vue
@@ -182,10 +182,9 @@ export default {
diff --git a/src/components/menubar/Menubar.vue b/src/components/menubar/Menubar.vue
index 1963d8e5f..7a2009b05 100644
--- a/src/components/menubar/Menubar.vue
+++ b/src/components/menubar/Menubar.vue
@@ -31,20 +31,9 @@ export default {
\ No newline at end of file
diff --git a/src/components/message/Message.vue b/src/components/message/Message.vue
index 211a10b60..7ae51abe8 100644
--- a/src/components/message/Message.vue
+++ b/src/components/message/Message.vue
@@ -65,35 +65,12 @@ export default {
diff --git a/src/components/sidebar/Sidebar.vue b/src/components/sidebar/Sidebar.vue
index 136828555..824d09900 100644
--- a/src/components/sidebar/Sidebar.vue
+++ b/src/components/sidebar/Sidebar.vue
@@ -247,10 +247,9 @@ export default {
height: 30em;
}
-.p-sidebar-close {
- float: right;
- cursor: pointer;
- line-height: 1;
+.p-sidebar-close.p-link {
+ margin-left: auto;
+ display: flex;
}
@media screen and (max-width: 64em) {
diff --git a/src/components/steps/Steps.vue b/src/components/steps/Steps.vue
index cb89271b3..47b14cd19 100644
--- a/src/components/steps/Steps.vue
+++ b/src/components/steps/Steps.vue
@@ -35,17 +35,6 @@ export default {
default: true
}
},
- stepsStyle: null,
- watch: {
- model(newValue) {
- if (this.model !== newValue) {
- this.createStyle();
- }
- }
- },
- mounted() {
- this.createStyle();
- },
methods: {
onItemClick(event, item) {
if (item.disabled || this.readonly) {
@@ -72,21 +61,6 @@ export default {
isItemDisabled(item) {
return (item.disabled || (this.readonly && !this.isActive(item)));
},
- createStyle() {
- if (!this.stepsStyle) {
- this.stepsStyle = document.createElement('style');
- this.stepsStyle.type = 'text/css';
- document.body.appendChild(this.stepsStyle);
- }
-
- let innerHTML = `
- #${this.id} .p-steps-item {
- flex: 1 0 ${ (100/ this.model.length) }%
- }
- `;
-
- this.stepsStyle.innerHTML = innerHTML;
- },
visible(item) {
return (typeof item.visible === 'function' ? item.visible() : item.visible !== false);
}
@@ -104,56 +78,35 @@ export default {
diff --git a/src/components/tabmenu/TabMenu.vue b/src/components/tabmenu/TabMenu.vue
index 5ceeb15df..4039c9c9d 100644
--- a/src/components/tabmenu/TabMenu.vue
+++ b/src/components/tabmenu/TabMenu.vue
@@ -64,44 +64,21 @@ export default {
diff --git a/src/components/tieredmenu/TieredMenu.vue b/src/components/tieredmenu/TieredMenu.vue
index 67f36ef9f..4e1b34395 100644
--- a/src/components/tieredmenu/TieredMenu.vue
+++ b/src/components/tieredmenu/TieredMenu.vue
@@ -159,10 +159,9 @@ export default {