Skip to content

Commit 121b1b9

Browse files
committed
aligned centered toast to be center
1 parent 38636fb commit 121b1b9

File tree

4 files changed

+59
-33
lines changed

4 files changed

+59
-33
lines changed

.idea/workspace.xml

Lines changed: 49 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-toasted.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-toasted",
33
"description": "Responsive Touch Compatible Toast plugin for VueJS 2+",
4-
"version": "1.0.33",
4+
"version": "1.0.33-alpha.1",
55
"author": "Shakeeb Sadikeen <shakee.zats@gmail.com>",
66
"repository": {
77
"type": "git",

src/sass/toast.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,14 @@
217217
#toasted-container {
218218
max-width: 86%;
219219

220+
&:not(.full-width) {
221+
&.top-center, &.bottom-center {
222+
display: flex;
223+
flex-direction: column;
224+
align-items: center;
225+
}
226+
}
227+
220228
&.top-right {
221229
top: 10%;
222230
right: 7%;

0 commit comments

Comments
 (0)