From 059a038e831989e9ab3f803e4d9aa8cf8549a447 Mon Sep 17 00:00:00 2001 From: cuiyang Date: Fri, 22 Jun 2018 16:42:57 +0800 Subject: [PATCH] update style in Radio component && add pointer-events attr in Toast component --- src/Radio/index.styl | 6 +++--- src/Toast/index.styl | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Radio/index.styl b/src/Radio/index.styl index f90b732..962c6ba 100644 --- a/src/Radio/index.styl +++ b/src/Radio/index.styl @@ -45,11 +45,11 @@ border: 1px solid transparent; } -.Radio--icon-normal i { +.baobab-radio-icon--normal i { transform: rotate(-45deg) scale(0); } -.Radio--icon-normal.disabled { +.baobab-radio-icon--normal.disabled { background-color: #ccc; } @@ -71,7 +71,7 @@ transition: transform .2s; } -.Radio--icon-check i { +.baobab-radio-icon--check i { transform: rotate(-45deg) scale(0); } diff --git a/src/Toast/index.styl b/src/Toast/index.styl index 7a35161..041309a 100644 --- a/src/Toast/index.styl +++ b/src/Toast/index.styl @@ -9,6 +9,7 @@ align-items: center; padding: 60px 0 40px; box-sizing: border-box; + pointer-events: none; } .baobab-toast.top { @@ -35,9 +36,9 @@ } .baobab-toast--main.onlyText { - width: 208px; + max-width: 208px; padding: 14px 0; - border-radius: 10px; + border-radius: 6px; text-align: center; word-wrap: break-word; }