Skip to content

Commit

Permalink
Doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Dec 12, 2017
1 parent 7a9fc63 commit 5137b92
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/showcase/components/scrollpanel/scrollpaneldemo.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h3>Import</h3>
</pre>

<h3>Getting Started</h3>
<p>ScrollPanel is defined with p-scrolPanel element having dimensions for the scrollable viewport and content.</p>
<p>ScrollPanel is defined with p-scrolPanel element having dimensions for the scrollable viewport.</p>
<pre>
<code class="language-markup" pCode ngNonBindable>
&lt;p-scrollPanel [style]="&#123;width: '100%', height: '200px'&#125;"&gt;
Expand All @@ -89,17 +89,17 @@ <h3>Customization</h3>

<pre>
<code class="language-css" pCode ngNonBindable>
.custombar1 .ui-scrollpanel-wrapper &#123;
.custom .ui-scrollpanel-wrapper &#123;
border-right: 9px solid #f4f4f4;
&#125;

.custombar1 .ui-scrollpanel-bar &#123;
.custom .ui-scrollpanel-bar &#123;
background-color: #1976d2;
opacity: 1;
transition: background-color .3s;
&#125;

.custombar1 .ui-scrollpanel-bar:hover &#123;
.custom .ui-scrollpanel-bar:hover &#123;
background-color: #135ba1;
&#125;
</code>
Expand Down

0 comments on commit 5137b92

Please sign in to comment.