Is there a way to create a full-width div in a side panel using jQuery Mobile?
I attempted it, but the result is not as desired:
https://i.sstatic.net/kfxj7.png
This is my current code snippet:
#profile {
background-color: green;
border-bottom: 1px solid #242A37;
overflow: hidden;
height: 100px;
width: 100%;
font-family: Arial, Helvetica, sans-serif;
}
.profile_info {
position: relative;
left: 68px;
top: -49px;
font-size: 14px;
color: #C4CCDA;
text-shadow: 0 0px 0 black;
}
<div data-role="panel" data-display="overlay" id="sidebar" style="background:white;">
<div id="profile">
<img src="img/profile.png">
<div class="profile_info"><strong>User</strong><br><small><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="40252d21292c00272d21292c6e232f2d">[email protected]</a></small></div>
</div>
<h3>MENU</h3>
</div>