From 89c6a28656386c9ab39dbc26909a842ca015696c Mon Sep 17 00:00:00 2001
From: Ed Ngai
Date: Wed, 7 Mar 2018 13:59:42 -0800
Subject: [PATCH] fix(card): update link to take full width of footer (#3116)
---
ui/components/cards/base/_index.scss | 9 ++++++++
ui/components/cards/base/example.jsx | 34 +++++++++++++++++++---------
2 files changed, 32 insertions(+), 11 deletions(-)
diff --git a/ui/components/cards/base/_index.scss b/ui/components/cards/base/_index.scss
index 475f135d94..4065188b6c 100644
--- a/ui/components/cards/base/_index.scss
+++ b/ui/components/cards/base/_index.scss
@@ -88,6 +88,15 @@
}
}
+/**
+* @summary Actionable element within card footer
+* @selector .slds-card__footer-action
+* @restrict .slds-card__footer a
+*/
+.slds-card__footer-action {
+ display: block;
+}
+
/**
* Use class if card consumes any form of a tile
*
diff --git a/ui/components/cards/base/example.jsx b/ui/components/cards/base/example.jsx
index 3608ce8773..f691498b2f 100644
--- a/ui/components/cards/base/example.jsx
+++ b/ui/components/cards/base/example.jsx
@@ -214,7 +214,7 @@ export let examples = [
-
+
View All entity type
@@ -276,7 +276,7 @@ export let examples = [
-
+
View All entity type
@@ -303,7 +303,10 @@ export let examples = [
-
+
View All{' '}
entity type
@@ -320,7 +323,10 @@ export let examples = [
-
+
View All{' '}
entity type
@@ -337,7 +343,10 @@ export let examples = [
-
+
View All{' '}
entity type
@@ -354,7 +363,10 @@ export let examples = [
-
+
View All{' '}
entity type
@@ -362,7 +374,7 @@ export let examples = [
-
+
View All entity type
@@ -390,7 +402,7 @@ export let examples = [
-
+
View All entity type
@@ -406,7 +418,7 @@ export let examples = [
-
+
View All entity type
@@ -422,7 +434,7 @@ export let examples = [
-
+
View All entity type
@@ -438,7 +450,7 @@ export let examples = [
-
+
View All entity type