I'm simply trying to add a vertical bar that can go from top to bottom on the right side of my panel. I would prefer to have a class instead of an in-line css style. Can anyone tell me what I'm missing, please? Thanks a lot in advance!
NOTE:
Here's my code:
PLUNKER
<p-panel>
<p-header>
Title
</p-header>
<textarea [rows]="5" [cols]="30" pInputTextarea autoResize="autoResize"></textarea>
<div class = "my-class"></div>
</p-panel>
Here's a pic of what I want:

Here you go: https://plnkr.co/edit/K3SQnzRBjuZMRH0P61u3?p=preview
.ui-panel {
position: relative !important;
}
.my-box {
position: absolute;
right: 3px;
top: 3px;
bottom: 3px;
width: 40px;
background: red;
}

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With