Skip to content
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

[FEATURE REQUEST] - Divider/Separator Component #690

Closed
go4cas opened this issue Nov 27, 2020 · 6 comments
Closed

[FEATURE REQUEST] - Divider/Separator Component #690

go4cas opened this issue Nov 27, 2020 · 6 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@go4cas
Copy link

go4cas commented Nov 27, 2020

Indicator to separate content.

Example: AntD.

@cagataycivici cagataycivici self-assigned this Nov 27, 2020
@cagataycivici cagataycivici added the Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add label Nov 27, 2020
@cagataycivici cagataycivici added this to the 3.0.3 milestone Nov 27, 2020
@cagataycivici
Copy link
Member

Set to 3.0.3

@cagataycivici
Copy link
Member

screely-1606572028837
screely-1606572054938

@hscstudio
Copy link

hscstudio commented Mar 23, 2021

I dont know why my divider not show line? I have checked in browser console, generated this html

<div class="p-divider p-component p-divider-horizontal p-divider-dashed p-divider-left" role="separator"><!----></div>

and in css console

.p-divider-dashed.p-divider-horizontal:before {
    border-top-style: dashed;
}

I dont know why this css show in linethrough border-top-style: dashed;

@hscstudio
Copy link

I dont know why my divider not show line? I have checked in browser console, generated this html

<div class="p-divider p-component p-divider-horizontal p-divider-dashed p-divider-left" role="separator"><!----></div>

and in css console

.p-divider-dashed.p-divider-horizontal:before {
    border-top-style: dashed;
}

I dont know why this css show in linethrough border-top-style: dashed;

For temporary solution, I override css style in component

.p-divider-solid.p-divider-horizontal:before {
  border-top-style: solid !important;
}
.p-divider-dashed.p-divider-horizontal:before {
  border-top-style: dashed !important;
}
.p-divider-solid.p-divider-vertical:before {
  border-left-style: solid !important;
}

@sheldonstewart
Copy link

sheldonstewart commented Apr 28, 2021

I also can't see my line.

From my main.js:

image
image

In my component:
image

Output:
image

@robokozo
Copy link
Contributor

I ran into this issue too. Thankfully, the css workaround helped - but I think it should still be investigated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
None yet
Development

No branches or pull requests

5 participants