Skip to content

Commit 4f6c1fb

Browse files
committed
fix(site-components): adjust positioning of issue component and update header style
1 parent 49ca526 commit 4f6c1fb

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

packages/site-components/src/components/td-doc-header/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export default define({
142142
Object.assign(describe.style, { opacity: 1, visibility: 'visible' });
143143
Object.assign(background.style, { position: 'absolute', top: 'unset', left: '0' });
144144
tabs && Object.assign(tabs.style, { position: 'absolute', top: '228px' });
145-
Object.assign(issue.style, { position: 'absolute', top: 'calc(100% - 48px - 12px)' });
145+
Object.assign(issue.style, { position: 'absolute', top: 'calc(100% - 48px)' });
146146
Object.assign(thumb.style, { opacity: 1, visibility: 'visible' });
147147
}
148148
}

packages/site-components/src/components/td-doc-header/style.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
&__inner {
2121
padding: var(--inner-padding-y, 48px) var(--content-padding-left-right);
22-
box-sizing: border-box;
2322
position: relative;
2423
display: flex;
2524
flex-direction: column;

packages/site-components/src/components/td-doc-header/td-doc-issue/style.less

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
:host {
2-
32
position: absolute;
43
right: 24px;
5-
top: calc(100% - 48px - 12px);
4+
top: calc(100% - 48px);
65
z-index: 500;
76

87
@media screen and (max-width: 750px) {

packages/site-components/src/styles/docs.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ div[name="DESIGN"] {
227227
font-size: 20px;
228228
line-height: 28px;
229229
margin: 48px 0 8px;
230-
display: flex;
230+
// display: flex;
231231
align-items: center;
232232
white-space: pre-wrap;
233233

0 commit comments

Comments
 (0)