forked from tusen-ai/naive-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tabs): style glitches when different types tabs are nested, closes …
- Loading branch information
Showing
6 changed files
with
110 additions
and
66 deletions.
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
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
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 |
---|---|---|
|
@@ -13,6 +13,7 @@ prefix | |
display-directive | ||
addable | ||
line-debug | ||
style-inherit-debug | ||
``` | ||
|
||
## Props | ||
|
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Style Inherit Debug | ||
|
||
```html | ||
<div id="app"> | ||
<h2>one tab</h2> | ||
<NTabs type="line"> | ||
<NTabPane name="One">1111</NTabPane> | ||
<NTabPane name="Two">1111</NTabPane> | ||
</NTabs> | ||
|
||
<h2>one tabs Parent/Child</h2> | ||
<NTabs type="card"> | ||
<NTabPane name="POne"> | ||
<NTabs type="line"> | ||
<NTabPane name="COne">1111</NTabPane> | ||
<NTabPane name="CTwo">1111</NTabPane> | ||
</NTabs> | ||
</NTabPane> | ||
<NTabPane name="PTwo">1111</NTabPane> | ||
</NTabs> | ||
</div> | ||
``` | ||
|
||
```js | ||
import { NTabs, NTabPane } from 'naive-ui' | ||
|
||
export default { | ||
name: 'App', | ||
components: { | ||
NTabs, | ||
NTabPane | ||
} | ||
} | ||
``` |
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
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