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 = () => {
- 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. -
-- 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.
++ The width of the component can scale +
*/}+
The 48px button is the second button size currently in use and it is available from mobile to desktop resolutions, even though it serves in different capacities across these screen sizes. -
+ */}+ {/*
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. -
+ */}+ {/*
NOTE:
@@ -265,20 +281,28 @@ const SistentSelect = () => { 48px is the default size. Preferred button sizes (height) are usually arrived at through exploration and proper consideration of industry standards and best practices. -
- -- Sometimes, icons are used alongside labels in buttons to pass across - specific information or relay added information for a higher level - of understanding and better comprehension. Depending on the - information being conveyed, the icons can be placed on the left side - of the label text or on the right side of the label text. No - specific rules apply apart from spacing tips which may be considered - here. For full width buttons, if icons must be added, they should be - centered in the button alongside the label text. -
+