diff --git a/src/sections/Projects/Sistent/components/select/index.js b/src/sections/Projects/Sistent/components/select/index.js index d63c01551bfe..cc8106b305fd 100644 --- a/src/sections/Projects/Sistent/components/select/index.js +++ b/src/sections/Projects/Sistent/components/select/index.js @@ -2,10 +2,10 @@ import React from "react"; import { navigate } from "gatsby"; import { useLocation } from "@reach/router"; -import { SistentThemeProvider, Button } from "@layer5/sistent"; +import { SistentThemeProvider } from "@layer5/sistent"; import TabButton from "../../../../../reusecore/Button"; import { SistentLayout } from "../../sistent-layout"; -import { Col, Row } from "../../../../../reusecore/Layout"; +import { Row } from "../../../../../reusecore/Layout"; import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode"; import { Container, @@ -196,25 +196,19 @@ const SistentSelect = () => {

Sizes

- For buttons to be fully effective, they can be adjusted in size to - accommodate multiple use cases where they may apply. These size - changes are usually done to the height of the buttons and not the - width since buttons usually grow to contain their content. The - height that makes up the different sizes of our buttons are gotten - from our spacing system to retain space consistency. We have chosen - two different sizes of buttons to provide options and more sizes can - be added to fill the growing needs. -

-

56px / 3.5rem

-

- The 56px button is the first button size. It is currently the - largest button available for use and it is available for both mobile - and desktop resolutions, but it serves in different capacities - across these different resolutions. + The select component can be adjusted in size to accommodate various + use cases. These size adjustments typically affect the height of the + component, while the width adjusts to fit the content. The height of + the select component is derived from our spacing system to maintain + consistency. We offer multiple sizes to meet different needs.

+

Auto width

+ {/*

+ The width of the component can scale +

*/} - + Age + Ten + Twenty + Thirty + +

Full width

-

+ {/*

Full width buttons are more efficient in mobile designs and rightly so in order to offer users with a wider touch area since the input devices - the fingers, are a lot larger than the cursor on a desktop or larger screen. -

+

*/} - - -