Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #185 from msurguy/master
Browse files Browse the repository at this point in the history
Made toast full width by default
  • Loading branch information
unix authored Jun 10, 2020
2 parents da3ff6b + 7fd14ef commit eddb1a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/toast/toast.styl
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
white-space nowrap
overflow hidden
flex 1
max-width 70%
margin 0
padding 0
&.action
max-width 70%
2 changes: 1 addition & 1 deletion packages/toast/toast.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template lang="pug">
.zi-toast-container
.zi-toast(:class="type && type")
span.message {{ text }}
span.message(:class="{ action: action }") {{ text }}
zi-button(
v-if="action"
auto ghost
Expand Down

0 comments on commit eddb1a4

Please sign in to comment.