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(timeline): has style conflict when vertical & horizontal `n-timel…
…ine` are nested, closes tusen-ai#2549
- Loading branch information
Showing
5 changed files
with
84 additions
and
22 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 |
---|---|---|
|
@@ -10,6 +10,7 @@ size.vue | |
item-placement.vue | ||
horizontal.vue | ||
customize-icon.vue | ||
nested-debug.vue | ||
``` | ||
|
||
## API | ||
|
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,55 @@ | ||
<markdown> | ||
# Nested debug | ||
</markdown> | ||
|
||
<template> | ||
<n-timeline horizontal> | ||
<n-timeline-item content="啊" /> | ||
<n-timeline-item | ||
type="success" | ||
title="成功" | ||
content="哪里成功" | ||
time="2018-04-03 20:46" | ||
> | ||
<n-timeline> | ||
<n-timeline-item content="啊" /> | ||
<n-timeline-item | ||
type="success" | ||
title="成功" | ||
content="哪里成功" | ||
time="2018-04-03 20:46" | ||
/> | ||
<n-timeline-item | ||
type="error" | ||
content="哪里错误" | ||
time="2018-04-03 20:46" | ||
/> | ||
<n-timeline-item | ||
type="warning" | ||
title="警告" | ||
content="哪里警告" | ||
time="2018-04-03 20:46" | ||
/> | ||
<n-timeline-item | ||
type="info" | ||
title="信息" | ||
content="是的" | ||
time="2018-04-03 20:46" | ||
/> | ||
</n-timeline> | ||
</n-timeline-item> | ||
<n-timeline-item type="error" content="哪里错误" time="2018-04-03 20:46" /> | ||
<n-timeline-item | ||
type="warning" | ||
title="警告" | ||
content="哪里警告" | ||
time="2018-04-03 20:46" | ||
/> | ||
<n-timeline-item | ||
type="info" | ||
title="信息" | ||
content="是的" | ||
time="2018-04-03 20:46" | ||
/> | ||
</n-timeline> | ||
</template> |
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