I have an issue where there seems to be a border box to the right of the grid, with the only way of removing is to increase the margin. Even while specifying the bright border as zero, it still appears. Padding doesn't work either
.grid-container {
display: grid;
grid-template-columns: 120px 120px 120px;
grid-row-gap: 3px;
background-color: black;
border: 3px solid black;
border-left: 0px;
padding: 0px;
position: center;
margin-left: 25%;
margin-right: 25%;
border-right: 0px;
}
.grid-container > * {
background-color: white;
border-left: 3px solid black;
}
<div class="grid-container">
{% block content %}
<div class="grid-item"></div>
<div class="grid-item">Kills</div>
<div class="grid-item">Accuracy</div>
<div class="grid-item"><img src="{% static 'RL.png' %}"></div>
<div class="grid-item">{{ RL_kills }}</div>
<div class="grid-item">{{ RL_acc }}%</div>
<div class="grid-item"><img src="{% static 'LG.png' %}"></div>
<div class="grid-item">{{ LG_kills }}</div>
<div class="grid-item">{{ LG_acc }}%</div>
<div class="grid-item"><img src="{% static 'RG.png' %}"></div>
<div class="grid-item">{{ RG_kills }}</div>
<div class="grid-item">{{ RG_acc }}%</div>
{% endblock content %}
</div>