Skip to content

Commit 2d7427e

Browse files
chore: update asset css
Co-authored-by: Marissa Huysentruyt <[email protected]>
1 parent a3ae158 commit 2d7427e

File tree

1 file changed

+10
-0
lines changed
  • 2nd-gen/packages/swc/components/asset

1 file changed

+10
-0
lines changed

2nd-gen/packages/swc/components/asset/asset.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,17 @@
1111
* governing permissions and limitations under the License.
1212
*/
1313

14+
:host {
15+
display: flex;
16+
}
17+
1418
.spectrum-Asset {
19+
display: flex; // we would also need this here for the `align-items` & `justify-content`
20+
align-items: center;
21+
justify-content: center;
22+
inline-size: 100%;
23+
block-size: 100%;
24+
}
1525
display: flex;
1626
align-items: center;
1727
justify-content: center;

0 commit comments

Comments
 (0)