Skip to content

Commit

Permalink
Merge pull request #1570 from milvus-io/preview
Browse files Browse the repository at this point in the history
Preview
  • Loading branch information
ThyeeZz authored Aug 16, 2024
2 parents 7279b9d + aa947d1 commit 7aa142e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/layout/docLayout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import FlexibleSectionContainer from '../../flexibleSection';
import Header from '../../header';
import Footer from '../../footer';
import InkeepChatButtonContainer from '@/components/inkeep/InkeepChatButton';
import 'highlight.js/styles/github.css';
import 'highlight.js/styles/atom-one-light.css';

const MENU_MINIMUM_WIDTH = 22;
const MENU_MAXIMUM_WIDTH = 283;
Expand Down
9 changes: 7 additions & 2 deletions src/styles/docsStyle.less
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,13 @@
margin: 24px 0;
position: relative;
padding-right: 42px;
&:has(.active) {
border: 1px solid @color-grey-04;

&:has(code[class*='language-']) {
border: none;
}

&:has(code[class*='active']) {
border: 1px solid @color-grey-04;
}

Expand All @@ -186,7 +192,6 @@
padding: 12px;
background-color: transparent;
font-weight: 400;
margin: 12px 0;
width: 100%;
overflow-x: auto;

Expand Down

0 comments on commit 7aa142e

Please sign in to comment.