Skip to content

Commit

Permalink
Fixed #2312 - Make Dock component mobile friendly
Browse files Browse the repository at this point in the history
  • Loading branch information
mcandu committed Sep 21, 2021
1 parent 9672a16 commit 0304b7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/dock/Dock.css
Expand Up @@ -7,6 +7,11 @@
pointer-events: none;
}

.p-dock-list-container {
display: flex;
pointer-events: auto;
}

.p-dock-list {
margin: 0;
padding: 0;
Expand Down
4 changes: 3 additions & 1 deletion src/components/dock/Dock.js
Expand Up @@ -111,7 +111,9 @@ export class Dock extends Component {

return (
<div id={this.props.id} className={className} style={this.props.style}>
{list}
<div class="p-dock-list-container">
{list}
</div>
</div>
);
}
Expand Down

0 comments on commit 0304b7c

Please sign in to comment.