Skip to content

Commit

Permalink
Merge pull request #1430 from Infineon/1429-checkbox-label-does-not-wrap
Browse files Browse the repository at this point in the history
Checkbox: removed fixed height
  • Loading branch information
tishoyanchev authored Aug 27, 2024
2 parents 7637c94 + 8f3e5d9 commit b0da4b2
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 24 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "24.6.1",
"version": "24.6.2--canary.1430.3cee98db635579771123bb6588b48ebc57291e76.0",
"command": {
"publish": {
"verifyAccess": false
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/components-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "components-angular",
"version": "24.6.1",
"version": "24.6.2--canary.1430.3cee98db635579771123bb6588b48ebc57291e76.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand All @@ -26,7 +26,7 @@
"@angular/platform-browser": "^18.0.0",
"@angular/platform-browser-dynamic": "^18.0.0",
"@angular/router": "^18.0.0",
"@infineon/infineon-design-system-angular": "^24.6.1",
"@infineon/infineon-design-system-angular": "^24.6.2--canary.1430.3cee98db635579771123bb6588b48ebc57291e76.0",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"zone.js": "~0.14.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@infineon/infineon-design-system-angular",
"version": "24.6.1",
"version": "24.6.2--canary.1430.3cee98db635579771123bb6588b48ebc57291e76.0",
"description": "Infineon design system Stencil web components for Angular",
"author": "Verena Lechner",
"license": "MIT",
Expand All @@ -11,7 +11,7 @@
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0",
"@infineon/design-system-tokens": "3.3.2",
"@infineon/infineon-design-system-stencil": "^24.6.1"
"@infineon/infineon-design-system-stencil": "^24.6.2--canary.1430.3cee98db635579771123bb6588b48ebc57291e76.0"
},
"dependencies": {
"tslib": "^2.3.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/components-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@infineon/infineon-design-system-react",
"version": "24.6.1",
"version": "24.6.2--canary.1430.3cee98db635579771123bb6588b48ebc57291e76.0",
"description": "Infineon design system Stencil web components for React",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"@infineon/design-system-tokens": "3.3.2",
"@infineon/infineon-design-system-stencil": "24.6.1"
"@infineon/infineon-design-system-stencil": "24.6.2--canary.1430.3cee98db635579771123bb6588b48ebc57291e76.0"
},
"auto": {
"plugins": [
Expand Down
4 changes: 2 additions & 2 deletions packages/components-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@infineon/infineon-design-system-vue",
"version": "24.6.1",
"version": "24.6.2--canary.1430.3cee98db635579771123bb6588b48ebc57291e76.0",
"description": "Infineon design system Stencil web components for Vue",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -31,7 +31,7 @@
},
"dependencies": {
"@infineon/design-system-tokens": "3.3.2",
"@infineon/infineon-design-system-stencil": "24.6.1"
"@infineon/infineon-design-system-stencil": "24.6.2--canary.1430.3cee98db635579771123bb6588b48ebc57291e76.0"
},
"auto": {
"plugins": [
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@infineon/infineon-design-system-stencil",
"version": "24.6.1",
"version": "24.6.2--canary.1430.3cee98db635579771123bb6588b48ebc57291e76.0",
"private": false,
"description": "Infineon design system Stencil web components",
"homepage": "https://infineon.github.io/infineon-design-system-stencil",
Expand Down
11 changes: 6 additions & 5 deletions packages/components/src/components/checkbox/checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
font-family: var(--ifx-font-family);

& .checkbox__wrapper {
box-sizing: border-box;
display: flex;
position: relative; //needs to be added for the indeterminate state of the checkbox
justify-content: center;
Expand All @@ -28,6 +29,7 @@
flex: none;
order: 0;
flex-grow: 0;
align-self: flex-start;

&.checkbox-m {
height: tokens.$ifxSize300;
Expand Down Expand Up @@ -116,18 +118,17 @@
}

& .label {
height: tokens.$ifxSize250;
font-style: normal;
font-weight: 400;
font-size: tokens.$ifxFontSizeS;
line-height: tokens.$ifxLineHeightS;
color: tokens.$ifxColorBaseBlack;
flex: none;
order: 1;
flex-grow: 0;
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-all;
max-width: 100%;

&.label-m {
height: tokens.$ifxSize300;
font-size: tokens.$ifxFontSizeM;
line-height: tokens.$ifxLineHeightM;
}
Expand Down

0 comments on commit b0da4b2

Please sign in to comment.