-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add table of contents and tabs group to style guide #669
Closed
Closed
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
srini047 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,40 +45,39 @@ html { | |
} | ||
|
||
/* .herobtn { */ | ||
/* background-color: transparent !important; */ | ||
/* justify-content: center; */ | ||
/* width: 168px; */ | ||
/* height: 32px; */ | ||
/* padding: 8px 8px; */ | ||
/* margin-right: 10px; */ | ||
/* display: flex; */ | ||
/* border: 1px solid #E3E8EE; | ||
/* background-color: transparent !important; */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There is no need to modify the css to just add to new tags to the style guide. I think your are adding here your work to modify the design of the table of contents but we should avoid it. Please use two different branches to fix each issue. |
||
/* justify-content: center; */ | ||
/* width: 168px; */ | ||
/* height: 32px; */ | ||
/* padding: 8px 8px; */ | ||
/* margin-right: 10px; */ | ||
/* display: flex; */ | ||
/* border: 1px solid #E3E8EE; | ||
border-radius: 4px; */ | ||
/* } */ | ||
|
||
/* @media (max-width: 1027px) { */ | ||
.DocSearch-Button-Container { | ||
height: 40px; | ||
padding: 0px; | ||
border: none; | ||
} | ||
.DocSearch-Button-Container { | ||
height: 40px; | ||
padding: 0px; | ||
border: none; | ||
} | ||
|
||
.DocSearch-Button { | ||
margin: 0; | ||
width: 39px; | ||
} | ||
.DocSearch-Button { | ||
margin: 0; | ||
width: 39px; | ||
} | ||
|
||
.DocSearch-Button-Placeholder { | ||
display: none; | ||
} | ||
.DocSearch-Button-Placeholder { | ||
display: none; | ||
} | ||
|
||
.DocSearch-Search-Icon { | ||
width: 20px; | ||
height: 20px; | ||
} | ||
|
||
.DocSearch-Search-Icon { | ||
width: 20px; | ||
height: 20px; | ||
} | ||
|
||
/* .herobtn .DocSearch-Button-Container { | ||
/* .herobtn .DocSearch-Button-Container { | ||
margin-right: 4px; | ||
margin-left: 4px; | ||
} */ | ||
|
@@ -101,14 +100,20 @@ border-radius: 4px; */ | |
|
||
/** Style Algolia */ | ||
|
||
.keygrad{ | ||
--docsearch-key-gradient: linear-gradient(-225deg, #d5dbe4, #f8f8f8) !important; | ||
.keygrad { | ||
--docsearch-key-gradient: linear-gradient( | ||
-225deg, | ||
#d5dbe4, | ||
#f8f8f8 | ||
) !important; | ||
} | ||
.keyshadow{ | ||
--docsearch-key-shadow: inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,0.4) !important; | ||
.keyshadow { | ||
--docsearch-key-shadow: inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff, | ||
0 1px 2px 1px rgba(30, 35, 90, 0.4) !important; | ||
} | ||
.keyshadow[data-theme=dark]{ | ||
--docsearch-key-shadow: inset 0 -2px 0 0 #ffffff, inset 0 0 1px 1px #ffffff, 0 2px 2px 0 rgba(3, 4, 9, 0.3) !important; | ||
.keyshadow[data-theme='dark'] { | ||
--docsearch-key-shadow: inset 0 -2px 0 0 #ffffff, inset 0 0 1px 1px #ffffff, | ||
0 2px 2px 0 rgba(3, 4, 9, 0.3) !important; | ||
} | ||
|
||
.search-input { | ||
|
@@ -140,8 +145,6 @@ border-radius: 4px; */ | |
margin-left: 40px; | ||
} | ||
|
||
|
||
|
||
.search-input span { | ||
margin-left: 15px; | ||
} | ||
|
@@ -222,10 +225,8 @@ border-radius: 4px; */ | |
margin-top: 4.4rem; | ||
} | ||
|
||
|
||
@layer base{ | ||
@layer base { | ||
body { | ||
@apply dark:bg-slate-800 bg-white; | ||
@apply dark:bg-slate-800 bg-white; | ||
} | ||
} | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I add this line:
This gets treated as a tab group and gets rendered rather than displaying as a code block. Any help on this appreciated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding one newline [enter] might help in this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DhairyaMajmudar Is this what you meant?

If so it is still the same.

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, add newline before [tab-end]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still the same😢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added newline before, after and both. All three yeild the same result as above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let me check if I can find any another solution 👍🏻