| @@ -1,8 +1,5 @@ | ||
| 1 | 1 | /** |
| 2 | - * Typography | |
| 3 | - */ | |
| 4 | -/** | |
| 5 | 2 | * SCSS Variables. |
| 6 | 3 | * |
| 7 | 4 | * Please use variables from this sheet to ensure consistency across the UI. |
| 8 | 5 | * Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| @@ -45,9 +42,25 @@ | ||
| 45 | 42 | /** |
| 46 | 43 | * React Native specific. |
| 47 | 44 | * These variables do not appear to be used anywhere else. |
| 48 | 45 | */ |
| 46 | +.components-popover__content:has(.dataviews-media-field__attached-to) { | |
| 47 | + margin-bottom: 96px; | |
| 48 | +} | |
| 49 | + | |
| 50 | +.components-popover__content:has(.dataviews-media-field__attached-to):has(.components-form-token-field__suggestions-list) { | |
| 51 | + margin-bottom: 0; | |
| 52 | +} | |
| 53 | + | |
| 54 | +.components-popover__content:has(.dataviews-media-field__attached-to) .components-form-token-field__suggestions-list { | |
| 55 | + height: 96px; | |
| 56 | + max-height: none; | |
| 57 | +} | |
| 58 | + | |
| 49 | 59 | /** |
| 60 | + * Typography | |
| 61 | + */ | |
| 62 | +/** | |
| 50 | 63 | * Breakpoints & Media Queries |
| 51 | 64 | */ |
| 52 | 65 | /** |
| 53 | 66 | * Converts a hex value into the rgb equivalent. |
| @@ -105,9 +118,8 @@ | ||
| 105 | 118 | |
| 106 | 119 | .media-author-field__avatar img { |
| 107 | 120 | width: 16px; |
| 108 | 121 | height: 16px; |
| 109 | - -o-object-fit: cover; | |
| 110 | 122 | object-fit: cover; |
| 111 | 123 | opacity: 1; |
| 112 | 124 | border-radius: 100%; |
| 113 | 125 | } |
| @@ -176,9 +188,8 @@ | ||
| 176 | 188 | .dataviews-media-field__media-thumbnail--image { |
| 177 | 189 | display: block; |
| 178 | 190 | width: 100%; |
| 179 | 191 | height: 100%; |
| 180 | - -o-object-fit: cover; | |
| 181 | 192 | object-fit: cover; |
| 182 | 193 | } |
| 183 | 194 | |
| 184 | 195 | .dataviews-media-field__media-thumbnail__stack { |
| @@ -352,9 +363,9 @@ | ||
| 352 | 363 | } |
| 353 | 364 | |
| 354 | 365 | .media-upload-modal__snackbar { |
| 355 | 366 | position: fixed; |
| 356 | - bottom: 24px; | |
| 367 | + bottom: var(--wpds-dimension-size-md, 32px); | |
| 357 | 368 | left: 0; |
| 358 | 369 | right: 0; |
| 359 | 370 | padding-inline: 16px; |
| 360 | 371 | box-sizing: border-box; |