I just rewrite
style here
I added some style and removed some style in css
Please add these lines may be you will get result want to you want
.pill-green .pill-box-left {
background-color: #367782;
color: white;
border: none;
height: 32px;
display: inline-block;
float: left;
width: 110px;
padding: 0 5px;
}
.pill-box-right {
background-color: #fff;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
border-left: 0;
padding-left: 4px;
color: white;
width: calc(100% - 124px);
display: inline-block;
float: right;
height: 32px;
}
.pill-box {
line-height: 30px;
border: 1px solid #000;
margin-bottom: 20px;
padding: 0;
margin: 0;
display: inline-block;
width: 100%;
border-radius: 2px;
}
.pill-green .pill-box-left {
background-color: #367782;
color: white;
border: none;
height: 32px;
display: inline-block;
float: left;
width: 110px;
}
.pill-box-right {
background-color: #fff;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
border-left: 0;
padding-left: 4px;
color: white;
width: calc(100% - 124px);
display: inline-block;
float: right;
height: 32px;
}