Skip to content

Commit 3923d3b

Browse files
committed
update: improve style
1 parent c5323a4 commit 3923d3b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/components/plugins-pages/JDKDetailsPage/Installation/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,15 @@ export default function Installation({ id, architecture }: Props) {
4141
<div className={styles.sectionTitleWrapper}>
4242
<Heading as="h2">Installation</Heading>
4343

44-
<div>
44+
<div className={styles.sectionSelectWrapper}>
4545
<Select
46-
className={styles.sectionTitleWrapperSelect}
4746
value={platform}
4847
items={architecture.map((arch) => arch.label)}
4948
position="right"
5049
onChange={handleCHangePlatform}
5150
/>
5251

5352
<Select
54-
className={styles.sectionTitleWrapperSelect}
5553
value={version}
5654
items={versions}
5755
position="right"

src/components/plugins-pages/JDKDetailsPage/Installation/styles.module.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
.section {
22
&TitleWrapper {
33
display: flex;
4-
align-items: flex-end;
54
justify-content: space-between;
5+
}
66

7-
&Select {
8-
margin: var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0;
9-
}
7+
&SelectWrapper {
8+
display: flex;
9+
align-items: flex-end;
10+
justify-content: flex-end;
11+
margin-bottom: 1.125rem;
1012
}
1113

1214
&BadgeList {

0 commit comments

Comments
 (0)