Skip to content

Commit

Permalink
feat/tup-486 Create text-wrap for longer links (#260)
Browse files Browse the repository at this point in the history
* adjust card text wrap and icon placement

* Removed position, top, and width styles.

I noticed that top and relative effects other button icons that have middle alignment.

---------

Co-authored-by: Wesley B <62723358+wesleyboar@users.noreply.github.com>
  • Loading branch information
R-Tomas-Gonzalez and wesleyboar authored Nov 16, 2023
1 parent b00917b commit 7f39284
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/components/c-card.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/components/cortal.icon.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.cms.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.docs.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-styles.portal.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/lib/_imports/components/c-card.css
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@

/* Elements */
:--c-card > a:not(:--c-button) {
display: inline-block; /* FAQ: for actions that do not yet have this */
display: flex;
}
:--c-card > :is(:--action) {
vertical-align: middle;
Expand Down
1 change: 0 additions & 1 deletion src/lib/_imports/components/cortal.icon.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ Styleguide Components.Cortal.Icon
/* To tweak action icon appearance and layout */
:--c-card > :is(:--action) > .icon:first-child,
p > :is(:--action):only-child > .icon:first-child {
vertical-align: middle;
margin-right: 10px;
font-size: 1.2em;
}
Expand Down

0 comments on commit 7f39284

Please sign in to comment.