Severities
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
Positions
-
+
+
+
Options
-
+
+
Remove All
@@ -104,4 +80,18 @@ export default {
'ToastDoc': ToastDoc
}
}
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/src/views/toast/ToastDoc.vue b/src/views/toast/ToastDoc.vue
index 89716c75e..28ece502d 100755
--- a/src/views/toast/ToastDoc.vue
+++ b/src/views/toast/ToastDoc.vue
@@ -248,46 +248,22 @@ this.$toast.removeAllGroups();
-<h3>Severities</h3>
-<div class="p-grid">
- <div class="p-col-12 p-md-3">
- <Button label="Success" class="p-button-success" @click="showSuccess" />
- </div>
- <div class="p-col-12 p-md-3">
- <Button label="Info" class="p-button-info" @click="showInfo" />
- </div>
- <div class="p-col-12 p-md-3">
- <Button label="Warn" class="p-button-warning" @click="showWarn" />
- </div>
- <div class="p-col-12 p-md-3">
- <Button label="Error" class="p-button-danger" @click="showError" />
- </div>
-</div>
+<h5>Severities</h5>
+<Button label="Success" class="p-button-success" @click="showSuccess" />
+<Button label="Info" class="p-button-info" @click="showInfo" />
+<Button label="Warn" class="p-button-warning" @click="showWarn" />
+<Button label="Error" class="p-button-danger" @click="showError" />
-<h3>Positions</h3>
-<div class="p-grid">
- <div class="p-col-12 p-md-4">
- <Button label="Top Left" @click="showTopLeft" />
- </div>
- <div class="p-col-12 p-md-4">
- <Button label="Bottom Left" class="p-button-warning" @click="showBottomLeft" />
- </div>
- <div class="p-col-12 p-md-4">
- <Button label="Bottom Right" class="p-button-success" @click="showBottomRight" />
- </div>
-</div>
+<h5>Positions</h5>
+<Button label="Top Left" class="p-mr-2" @click="showTopLeft" />
+<Button label="Bottom Left" class="p-button-warning" @click="showBottomLeft" />
+<Button label="Bottom Right" class="p-button-success" @click="showBottomRight" />
-<h3>Options</h3>
-<div class="p-grid">
- <div class="p-col-12 p-md-6">
- <Button @click="showMultiple" label="Multiple" class="p-button-warning" />
- </div>
- <div class="p-col-12 p-md-6">
- <Button @click="showSticky" label="Sticky" />
- </div>
-</div>
+<h5>Options</h5>
+<Button @click="showMultiple" label="Multiple" class="p-button-warning" />
+<Button @click="showSticky" label="Sticky" />
-<h3>Remove All</h3>
+<h5>Remove All</h5>
<Button @click="clear" label="Clear" />