Skip to content

Commit d777d98

Browse files
authored
fix: styles (#1124)
* refactor: overview * fix: i18n * fix: styles * fix: css * fix: scss * chore: remove some styles
1 parent eb370d9 commit d777d98

File tree

2 files changed

+28
-28
lines changed

2 files changed

+28
-28
lines changed

src/css/ant-pre.css

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/css/custom.scss

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
@import "./pagination.scss"; // 底部导航
1717
@import "./icons-color.scss"; // 自定义 icon 颜色类
1818
@import "./toc.scss"; // TOC
19-
@import "./ant-pre.css";
2019

2120
.container {
2221
padding-right: 2rem;
@@ -292,3 +291,31 @@ div[class*="searchQueryColumn"] {
292291
[data-theme="dark"] .databend-logo-02 {
293292
display: block;
294293
}
294+
295+
.ant-row {
296+
display: flex;
297+
flex-flow: row wrap;
298+
}
299+
.ant-row::before,
300+
.ant-row::after {
301+
display: flex;
302+
}
303+
.ant-col-md-8 {
304+
display: block;
305+
flex: 0 0 33.33333333%;
306+
max-width: 33.33333333%;
307+
}
308+
.ant-col-xl-12 {
309+
display: block;
310+
flex: 0 0 50%;
311+
max-width: 50%;
312+
}
313+
314+
// antd start
315+
.ant-input:focus {
316+
box-shadow: 0px 0px 0px 4px rgba(1, 117, 246, 0.25),
317+
inset 0px 0px 0px 0.5px #0175f6;
318+
}
319+
.ant-modal-root .ant-modal-mask {
320+
background-color: var(--docsearch-container-background) !important;
321+
}

0 commit comments

Comments
 (0)