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

Dock: Sample code missing DockDemo.css #5882

Closed
13RTK opened this issue Feb 3, 2024 · 2 comments · Fixed by #5883
Closed

Dock: Sample code missing DockDemo.css #5882

13RTK opened this issue Feb 3, 2024 · 2 comments · Fixed by #5883
Assignees
Labels
Component: Documentation Issue or pull request is related to Documentation
Milestone

Comments

@13RTK
Copy link

13RTK commented Feb 3, 2024

Describe the bug

In the doc of Dock component, the sample code missing the css file, even error at the stackblitz

image
image

Reproducer

No response

PrimeReact version

10.4.0

React version

18.x

Language

ES6

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@13RTK 13RTK added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 3, 2024
@melloware melloware self-assigned this Feb 3, 2024
@melloware melloware added Component: Documentation Issue or pull request is related to Documentation and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 3, 2024
@melloware melloware added this to the 10.4.1 milestone Feb 3, 2024
melloware added a commit to melloware/primereact that referenced this issue Feb 3, 2024
@melloware
Copy link
Member

Good catch thanks for the report!

@melloware
Copy link
Member

If you need the CSS its this:

/* DockDemo.css */
.dock-demo .dock-window {
    width: 100%;
    height: 450px;
    position: relative;
    background-image: url('https://primefaces.org/cdn/primereact/images/dock/window.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.dock-demo .p-dock {
    z-index: 1000;
}  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Documentation Issue or pull request is related to Documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants