style: Improve Quick Tips box styling and add close button
This commit is contained in:
1 parent
468e58c16e
commit
b855da785b
1 file changed
+11
-2
@@ -1,6 +1,15 @@
|
|||||||
<!-- Quick Tips Box -->
|
<!-- Quick Tips Box -->
|
||||||
<div class="bg-rules-bg p-4 rounded mb-4 text-primary">
|
<div id="quick-tips-box" class="relative p-4 rounded mb-4 border border-gray-300 text-gray-700">
|
||||||
<p><strong>Quick Tips:</strong> Keep it brief, keep it real. Share your desk moments, finds, or frustrations. Upvote what resonates!</p>
|
<button
|
||||||
|
type="button"
|
||||||
|
aria-label="Close quick tips"
|
||||||
|
onclick="document.getElementById('quick-tips-box').style.display='none'"
|
||||||
|
class="absolute top-2 right-3 text-gray-500 hover:text-gray-700 focus:outline-none focus:ring-1 focus:ring-gray-500 rounded-md p-1">
|
||||||
|
<i class="fas fa-times"></i>
|
||||||
|
</button>
|
||||||
|
<p class="mr-8"> <!-- Ensure text doesn't overlap with the close button -->
|
||||||
|
<strong>Quick Tips:</strong> Keep it brief, keep it real. Share your desk moments, finds, or frustrations. Upvote what resonates!
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% assign filter_type = page.filter_type | default: 'all' %}
|
{% assign filter_type = page.filter_type | default: 'all' %}
|
||||||
|
|||||||
Reference in new issue
Block a user