I am attempting to create a uniform border for each item on my list. However, due to the nested structure of the list, I have used padding to achieve this.
As a result, the appearance is as expected and behaves normally.
https://i.sstatic.net/cHNb3.png
Check out the JSFiddle Example
CSS
.accordion-menu {
width: 100%;
background: #52b3d9; }
.accordion-list {
position: relative;
display: none;
width: 100%;
/* Item submodule */
/* Level modifiers */ }
.accordion-list.is-root {
display: block; }
.accordion-list.is-opened {
display: block; }
.accordion-list-item {
width: 100%;
display: block;
/* States */ }
.accordion-list-item__icon {
font-size: 1.125em;
display: inline-block;
vertical-align: middle; }
... (CSS continues)
<p>HTML Structure </p>
<pre><code>(HTML code provided in the original text)
Is there a way for me to ensure that the bottom border spans the full width?