Skip to content

Commit

Permalink
Merge branch 'previewTools-logo-tab' of https://github.com/Telefonica…
Browse files Browse the repository at this point in the history
…/mistica-web into previewTools-logo-tab
  • Loading branch information
yceballost committed Jul 7, 2023
2 parents 25b35a5 + fa937b4 commit c161608
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [14.17.1](https://github.com/Telefonica/mistica-web/compare/v14.17.0...v14.17.1) (2023-07-07)


### Bug Fixes

* **Row:** remove 40 percent maxWidth when there is no detail ([#814](https://github.com/Telefonica/mistica-web/issues/814)) ([cf09796](https://github.com/Telefonica/mistica-web/commit/cf0979624cfc8061022ecd72eab2692b0a443e47))

# [14.17.0](https://github.com/Telefonica/mistica-web/compare/v14.16.1...v14.17.0) (2023-07-06)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@telefonica/mistica",
"version": "14.17.0",
"version": "14.17.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion src/list.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ export const control = style([
},
]);

export const right = style({display: 'flex', marginLeft: 16, maxWidth: '40%'});
export const right = style({display: 'flex', marginLeft: 16});
export const rightRestrictedWidth = style({maxWidth: '40%'});

export const detailRight = style({paddingLeft: 8});
export const detail = style({textAlign: 'right'});
Expand Down
7 changes: 6 additions & 1 deletion src/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,12 @@ const Content: React.FC<ContentProps> = ({

{renderBadge()}

<div className={classNames({[styles.right]: !!detail || type !== 'basic'})}>
<div
className={classNames({
[styles.right]: !!detail || type !== 'basic',
[styles.rightRestrictedWidth]: !!detail,
})}
>
{detail && (
<div className={classNames(styles.center, styles.detail, {[styles.disabled]: disabled})}>
<Text2 regular color={vars.colors.textSecondary} hyphens="auto">
Expand Down
2 changes: 1 addition & 1 deletion src/package-version.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// DO NOT EDIT THIS FILE. It's autogenerated by set-version.js
export const PACKAGE_VERSION = '14.17.0' as string;
export const PACKAGE_VERSION = '14.17.1' as string;

0 comments on commit c161608

Please sign in to comment.