Skip to content

Commit

Permalink
Fixed Error Card Width
Browse files Browse the repository at this point in the history
  • Loading branch information
sandunwira committed Nov 7, 2024
1 parent a7f5bb9 commit 1257fea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function getIPAddress() {
locatedCountryContainer.style.display = 'none';
resultsCount.textContent = 'Try searching for a country';
hotlineCardsContainer.innerHTML = `
<div class="error flex flexCol" style="width: 100%; padding: 50px 15px; background: #FFFFFF; border-radius: 10px; border: 1px solid var(--whiteGray);">
<div class="error flex flexCol" style="width: calc(100% - 30px); padding: 50px 15px; background: #FFFFFF; border-radius: 10px; border: 1px solid var(--whiteGray);">
<p>Results will appear here</p>
</div>
`;
Expand Down

0 comments on commit 1257fea

Please sign in to comment.