@@ -10,10 +10,10 @@ OF ANY KIND, either express or implied. See the License for the specific languag
1010governing permissions and limitations under the License.
1111*/
1212
13- @import url (' ./spectrum-card.css' );
14- @import url (' ./card-overrides.css' );
13+ @import url (" ./spectrum-card.css" );
14+ @import url (" ./card-overrides.css" );
1515
16- : host ([href ]: not ([href = '' ])) {
16+ : host ([href ]: not ([href = "" ])) {
1717 cursor : pointer;
1818}
1919
@@ -27,29 +27,26 @@ governing permissions and limitations under the License.
2727 flex-grow : 0 ;
2828}
2929
30- : host ([dir = ' ltr' ]) .action-button {
30+ : host ([dir = " ltr" ]) .action-button {
3131 margin-left : auto;
3232}
3333
34- : host ([dir = ' rtl' ]) .action-button {
34+ : host ([dir = " rtl" ]) .action-button {
3535 margin-right : auto;
3636}
3737
38- /* The description slot has a psuedo-element that also needs to receive the font styling.
38+ /* The description slot has a psuedo-element that also needs to receive the font styling.
3939We need to add the declaration to the slot as well */
40- slot [name = 'description' ] {
41- font-size : var (
42- --spectrum-card-subtitle-text-size ,
43- var (--spectrum-font-size-50 )
44- );
40+ slot [name = "description" ] {
41+ font-size : var (--spectrum-card-subtitle-text-size , var (--spectrum-font-size-50 ));
4542}
4643
4744# preview + # cover-photo {
4845 display : none;
4946}
5047
5148# cover-photo ::slotted (* ),
52- : host (: not ([variant = ' quiet' ])) # preview ::slotted (* ) {
49+ : host (: not ([variant = " quiet" ])) # preview ::slotted (* ) {
5350 width : 100% ;
5451 display : block;
5552
@@ -59,7 +56,7 @@ slot[name='description'] {
5956 object-fit : cover;
6057}
6158
62- : host (: not ([variant = ' gallery' ])) # preview ::slotted (* ) {
59+ : host (: not ([variant = " gallery" ])) # preview ::slotted (* ) {
6360 height : 100% ;
6461}
6562
@@ -81,16 +78,18 @@ sp-popover {
8178}
8279
8380/**
84- * Allow that the heading element will take specified use of the available width whether
81+ * Allow that the heading element will take specified use of the available width whether
8582 * "actions" are supplied to the element or not.
8683 **/
8784.title {
8885 width : var (--spectrum-card-title-width );
8986}
9087
9188.subtitle {
92- /* Override until https://github.com/adobe/spectrum-css/issues/1054 is fixed */
93- text-transform : none;
89+ font-family : var (--spectrum-sans-font-family-stack );
90+ font-size : var (--spectrum-detail-size-s );
91+ font-weight : var (--spectrum-detail-sans-serif-font-weight );
92+ line-height : var (--spectrum-detail-line-height );
9493}
9594
9695: host : befor e,
0 commit comments