Skip to content

Commit 34d71be

Browse files
authored
chore(codepen): remove codepen embed per cookie compliance (#4625)
* chore(codepen): remove codepen embed per cookie compliance * chore(codepen): fix link to not use embed version * chore(codepen): formatting fixes * chore(codepen): more formatting fixes
1 parent d9719cd commit 34d71be

File tree

2 files changed

+4
-23
lines changed

2 files changed

+4
-23
lines changed

src/pages/patterns/common-actions/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ Consider inline error notifications for these instances.
220220

221221
### Content guidelines
222222

223-
Be brief, honest, and supportive. Explain what happened and what the user can
224-
do to resolve the error.
223+
Be brief, honest, and supportive. Explain what happened and what the user can do
224+
to resolve the error.
225225

226226
For full-page and large modals, keep error messages no longer than three
227227
paragraph lines. For form errors, keep error messages no longer than two lines.

src/pages/patterns/overflow-content/index.mdx

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -147,27 +147,8 @@ be configured in order to calculate where the truncation will start.
147147

148148
#### Mid-line truncation
149149

150-
Mid-line truncation does not have its own class as it requires JavaScript. This
151-
example in CodePen shows how it is implemented.
152-
153-
<Row>
154-
<Column colLg={8}>
155-
<iframe
156-
height="300"
157-
scrolling="no"
158-
title="Middle Truncation"
159-
src="//codepen.io/team/carbon/embed/yLyGXQK/?height=300&theme-id=30962&default-tab=result&embed-version=2"
160-
frameborder="no"
161-
allowtransparency="true"
162-
allowfullscreen="true"
163-
style={{ width: '100%' }}>
164-
See the Pen{' '}
165-
<a href="https://codepen.io/team/carbon/pen/KRoBQe/">Middle Truncation</a>{' '}
166-
by Carbon Design System (<a href="https://codepen.io/carbon">@carbon</a>)
167-
on <a href="https://codepen.io">CodePen</a>.
168-
</iframe>
169-
</Column>
170-
</Row>
150+
Mid-line truncation does not have its own class as it requires JavaScript.
151+
[This example in CodePen shows how it is implemented](https://codepen.io/team/carbon/pen/KRoBQe/).
171152

172153
<br />
173154

0 commit comments

Comments
 (0)