refactor: improve modal CTA layout with better spacing

- Swap order: subtext now appears above the button
- Add more breathing room with increased margins (1.5rem top, 1rem bottom)
- Creates clearer visual hierarchy and improved readability
This commit is contained in:
juanatsap
2025-11-10 19:26:54 +00:00
parent 50f8bd4063
commit 125b3e2c81
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2866,8 +2866,8 @@ html {
text-align: center;
font-size: 0.9rem;
color: #666;
margin-top: 0.5rem;
margin-bottom: 0;
margin-top: 1.5rem;
margin-bottom: 1rem;
font-style: italic;
}
+1 -1
View File
@@ -415,12 +415,12 @@
</div>
</div>
<p class="info-modal-github-subtext">{{.UI.InfoModal.ViewSourceSubtext}}</p>
<a href="https://github.com/juanatsap/cv-site" target="_blank" rel="noopener noreferrer" class="info-modal-github">
<iconify-icon icon="mdi:github" width="24" height="24"></iconify-icon>
<span>{{.UI.InfoModal.ViewSource}}</span>
<iconify-icon icon="mdi:arrow-right" width="20" height="20"></iconify-icon>
</a>
<p class="info-modal-github-subtext">{{.UI.InfoModal.ViewSourceSubtext}}</p>
</div>
</div>
</div>