Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Arrange example updates
Browse files Browse the repository at this point in the history
  • Loading branch information
KV106606Viswanath committed Jul 7, 2023
1 parent a7a7317 commit 0a9be2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import styles from './examplesetup.scss';
const cx = classNames.bind(styles);

const ipsum = 'This example provides content containers with a fit (start and/or end region) and fill (middle region). Arrange Props have one required prop which is fill to the content to display in the body of the fill.';
const simpleText = <div>{ipsum}</div>;
const textWithBlueBorder = <div className={cx('outlined-placeholder')}>{ipsum}</div>;
const simpleText = <span>{ipsum}</span>;
const textWithBlueBorder = <span className={cx('outlined-placeholder')}>{ipsum}</span>;

const alignExampleDiv = (
<div className={cx('placeholder')} />
<span className={cx('placeholder')} />
);

const alignExampleDivBlue = (
<div className={cx('highlighted-placeholder')} />
<span className={cx('highlighted-placeholder')} />
);

export {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

.outlined-placeholder {
border: 2px solid #0079be;
display: block;
}

.placeholder {
Expand Down
4 changes: 2 additions & 2 deletions packages/terra-section-header/src/SectionHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ class SectionHeader extends React.Component {
<ArrangeComponent />
</button>
) : (
<div tabIndex="-1" className={cx('arrange-wrapper')}>
<span tabIndex="-1" className={cx('arrange-wrapper')}>
<ArrangeComponent />
</div>
</span>
)}
</Element>
);
Expand Down

0 comments on commit 0a9be2d

Please sign in to comment.