Skip to content

Commit edbd627

Browse files
author
rakeshAlgo
committed
version dropdown issues fixes
1 parent c27b1e8 commit edbd627

File tree

3 files changed

+31
-10
lines changed

3 files changed

+31
-10
lines changed

src/css/base.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
html {
88
box-sizing: border-box;
99
text-size-adjust: 100%;
10+
scroll-behavior: smooth;
1011
}
1112

1213
html,

src/css/component-frame.css

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,31 @@
11
.component-frame {
22
/* rgba(87, 160, 255, 1) */
33
background: var(--color-brand-gray6);
4-
padding: 12px 15px 12px 15px;
4+
/* padding: 12px 15px 12px 15px; */
55
display: flex;
6-
align-items: center;
6+
/* align-items: center; */
77
justify-content: center;
8+
position: relative;
9+
}
10+
11+
.frame-icon {
12+
padding: 12px 0 12px 15px;
813
}
914

1015
.frame-body {
1116
margin-left: var(--base-extra-small-space);
1217
position: relative;
18+
padding-top: 12px;
19+
padding-bottom: 12px;
20+
padding-right: 15px;
21+
line-height: 2;
22+
display: flex;
23+
align-items: center;
24+
flex-wrap: wrap;
1325
}
1426

1527
.frame-body .title {
16-
margin: 0;
28+
margin: 0 4px 0 0;
1729
font-size: var(--font-medium);
1830
line-height: 1.5rem;
1931
font-weight: var(--weight-semibold);
@@ -23,23 +35,25 @@
2335

2436
.component-frame .frame-link-dropdowns {
2537
display: inline-block;
38+
line-height: 1;
2639
}
2740

2841
.frame-body .frame-link {
2942
position: relative;
3043
}
3144

32-
.frame-body .frame-link-dropdowns:hover .frame-dropdown {
33-
display: block;
34-
}
35-
3645
.frame-dropdown {
3746
position: absolute;
3847
display: none;
39-
left: 56%;
40-
top: 0;
48+
left: auto;
49+
top: 100%;
4150
z-index: 1;
42-
padding: 47px 0 0;
51+
padding: 0;
52+
}
53+
54+
.component-frame .frame-dropdown.show,
55+
.component-frame .frame-body:hover .frame-dropdown {
56+
display: block;
4357
}
4458

4559
.frame-link-dropdowns .frame-link {
@@ -73,6 +87,7 @@
7387
width: 100%;
7488
color: var(--color-brand-primary);
7589
font-weight: var(--weight-semibold);
90+
line-height: var(--line-height-base);
7691
}
7792

7893
.frame-dropdown ul li a:hover,

src/css/landing-page.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@
124124
flex-wrap: wrap;
125125
}
126126

127+
.doc.landing-page-doc .other-info-list .box.ulist,
128+
.doc.landing-page-doc .other-info-list .box.olist {
129+
padding-left: 0;
130+
}
131+
127132
.doc.landing-page-doc .other-info-list .box {
128133
padding-right: 40px;
129134
}

0 commit comments

Comments
 (0)