diff --git a/docs-website/src/pages/_components/TownhallButton/townhallbutton.module.scss b/docs-website/src/pages/_components/TownhallButton/townhallbutton.module.scss index 79c7a446ed7de..951bc99015302 100644 --- a/docs-website/src/pages/_components/TownhallButton/townhallbutton.module.scss +++ b/docs-website/src/pages/_components/TownhallButton/townhallbutton.module.scss @@ -1,14 +1,14 @@ .feature { - color: white; - border: 1px solid transparent; + color: white; + border: 1px solid transparent; + background-image: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); + background-origin: border-box; + opacity: 90%; + + &:hover { + opacity: 100%; + background: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); background-image: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); background-origin: border-box; - - &:hover { - opacity: 90%; - background: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); - background-image: linear-gradient(to right, #1890ff 0%, #9c27b0 100%); - background-origin: border-box; - } - + } }