Skip to content

Commit

Permalink
fix(new toggle switch): removed the on off text from toggle switch
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalgaurav-bmw committed Sep 25, 2024
1 parent dbb20ce commit c161639
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@catena-x/portal-shared-components",
"version": "3.6.1",
"version": "3.6.2",
"description": "Catena-X Portal Shared Components",
"author": "Catena-X Contributors",
"license": "Apache-2.0",
Expand Down
2 changes: 0 additions & 2 deletions src/components/basic/ToggleSwitch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,13 @@ export const ToggleSwitch = ({
height: '30px',
opacity: 1,
'&::before': {
content: '"ON"',
position: 'absolute',
left: '5px',
top: '6px',
fontSize: '12px',
color: '#000',
},
'&::after': {
content: '"OFF"',
position: 'absolute',
right: '5px',
top: '6px',
Expand Down

0 comments on commit c161639

Please sign in to comment.