From faba1ad4ba7d5861082abc17bd592397f1c29aba Mon Sep 17 00:00:00 2001 From: Ronan Levesque Date: Fri, 13 Oct 2017 17:38:15 +0200 Subject: [PATCH] fix(InfiniteHits): add disabled style to the LoadMore button (#477) * fix(InfiniteHits): add disabled style to the LoadMore button * fix(InfiniteHits): remove the need for an extra selector --- .../styles/_InfiniteHits.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-instantsearch-theme-algolia/styles/_InfiniteHits.scss b/packages/react-instantsearch-theme-algolia/styles/_InfiniteHits.scss index f37ad702e5..65a97bad47 100644 --- a/packages/react-instantsearch-theme-algolia/styles/_InfiniteHits.scss +++ b/packages/react-instantsearch-theme-algolia/styles/_InfiniteHits.scss @@ -1,7 +1,8 @@ .ais-InfiniteHits__root { } -.ais-InfiniteHits__root button { +.ais-InfiniteHits__loadMore { @include buttonTernary(); @include buttonLink(); + @include disabled(); }