|
9 | 9 | .slds-dl_inline,
|
10 | 10 | .slds-dl--inline {
|
11 | 11 | @include clearfix;
|
| 12 | +} |
12 | 13 |
|
13 |
| - @include mq-small-min { |
14 |
| - /** |
15 |
| - * @summary Marks a term |
16 |
| - * @selector .slds-dl_inline__label |
17 |
| - * @modifier |
18 |
| - */ |
19 |
| - &__label { |
20 |
| - float: left; |
21 |
| - clear: left; |
22 |
| - } |
| 14 | +@include mq-small-min { |
| 15 | + /** |
| 16 | + * @summary Marks a term |
| 17 | + * @selector .slds-dl_inline__label |
| 18 | + * @modifier |
| 19 | + */ |
| 20 | + .slds-dl_inline__label, |
| 21 | + .slds-dl--inline__label { |
| 22 | + float: left; |
| 23 | + clear: left; |
| 24 | + } |
23 | 25 |
|
24 |
| - /** |
25 |
| - * @summary Marks a description |
26 |
| - * @selector .slds-dl_inline__detail |
27 |
| - * @modifier |
28 |
| - */ |
29 |
| - &__detail { |
30 |
| - float: left; |
31 |
| - padding-left: $spacing-xx-small; |
32 |
| - } |
| 26 | + /** |
| 27 | + * @summary Marks a description |
| 28 | + * @selector .slds-dl_inline__detail |
| 29 | + * @modifier |
| 30 | + */ |
| 31 | + .slds-dl_inline__detail, |
| 32 | + .slds-dl--inline__detail { |
| 33 | + float: left; |
| 34 | + padding-left: $spacing-xx-small; |
33 | 35 | }
|
34 | 36 | }
|
35 | 37 |
|
|
49 | 51 | }
|
50 | 52 | }
|
51 | 53 |
|
52 |
| -/** |
53 |
| - * @summary Causes description list to display horizontally with `dt` consuming 33% of the space and the `dd` taking up the rest. |
54 |
| - * @selector .slds-dl_horizontal |
55 |
| - * @modifier |
56 |
| - */ |
57 |
| -.slds-dl_horizontal, |
58 |
| -.slds-dl--horizontal { |
59 |
| - @include mq-small-min { |
| 54 | +@include mq-small-min { |
| 55 | + /** |
| 56 | + * @summary Causes description list to display horizontally with `dt` consuming 33% of the space and the `dd` taking up the rest. |
| 57 | + * @selector .slds-dl_horizontal |
| 58 | + * @modifier |
| 59 | + */ |
| 60 | + .slds-dl_horizontal, |
| 61 | + .slds-dl--horizontal { |
60 | 62 | display: flex;
|
61 | 63 | flex-wrap: wrap;
|
| 64 | + } |
62 | 65 |
|
63 |
| - /** |
64 |
| - * @summary Marks a term |
65 |
| - * @selector .slds-dl_horizontal__label |
66 |
| - * @modifier |
67 |
| - */ |
68 |
| - &__label { |
69 |
| - width: 30%; |
70 |
| - padding-right: $spacing-small; |
71 |
| - } |
| 66 | + /** |
| 67 | + * @summary Marks a term |
| 68 | + * @selector .slds-dl_horizontal__label |
| 69 | + * @modifier |
| 70 | + */ |
| 71 | + .slds-dl_horizontal__label, |
| 72 | + .slds-dl--horizontal__label { |
| 73 | + width: 30%; |
| 74 | + padding-right: $spacing-small; |
| 75 | + } |
72 | 76 |
|
73 |
| - /** |
74 |
| - * @summary Marks a description |
75 |
| - * @selector .slds-dl_horizontal__detail |
76 |
| - * @modifier |
77 |
| - */ |
78 |
| - &__detail { |
79 |
| - width: 70%; |
80 |
| - } |
| 77 | + /** |
| 78 | + * @summary Marks a description |
| 79 | + * @selector .slds-dl_horizontal__detail |
| 80 | + * @modifier |
| 81 | + */ |
| 82 | + .slds-dl_horizontal__detail, |
| 83 | + .slds-dl--horizontal__detail { |
| 84 | + width: 70%; |
81 | 85 | }
|
82 | 86 | }
|
83 | 87 |
|
|
0 commit comments