Skip to content

Commit 0307155

Browse files
committed
updated styling
1 parent 349d10e commit 0307155

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/compass-indexes/src/components/create-index-modal/create-index-modal-header.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,28 @@ import {
33
Body,
44
spacing,
55
css,
6-
cx,
76
palette,
87
Link,
98
} from '@mongodb-js/compass-components';
109
import React from 'react';
1110

1211
const headerStyle = css({
13-
padding: spacing[5],
12+
padding: spacing[800],
1413
paddingBottom: 0,
1514
});
1615

16+
const subtitleStyle = css({
17+
color: palette.gray.dark1,
18+
});
19+
1720
const CreateIndexModalHeader = () => {
1821
return (
19-
<div className={cx(headerStyle)}>
22+
<div className={headerStyle}>
2023
<H3 data-testid="create-index-modal-header-title">Create Index</H3>
2124

2225
<Body
2326
data-testid="create-index-modal-header-subtitle"
24-
style={{ color: palette.gray.dark1 }}
27+
className={subtitleStyle}
2528
>
2629
The best indexes for your application should consider a number of
2730
factors, such as your data model, and the queries you use most often. To

0 commit comments

Comments
 (0)