style: Reduce nested comment padding for mobile view

This commit is contained in:
Your Name (aider) committed 2025-04-28 04:10:47 +08:00
1 parent da5b743fda
commit 8804198537
1 file changed
+7 -7
+7 -7
View File
@@ -105,7 +105,7 @@
</div> </div>
<!-- Nested Comment --> <!-- Nested Comment -->
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm"> <div class="ml-2 mt-4 border-l-2 border-gray-200 pl-2 text-sm">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nestedcommenter1</small> <small class="text-text-muted ml-2 text-sm">@nestedcommenter1</small>
@@ -163,7 +163,7 @@
</div> </div>
<!-- Level 1 Nested Comment --> <!-- Level 1 Nested Comment -->
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm"> <div class="ml-2 mt-4 border-l-2 border-gray-200 pl-2 text-sm">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested1</small> <small class="text-text-muted ml-2 text-sm">@nested1</small>
@@ -175,7 +175,7 @@
</div> </div>
<!-- Level 2 Nested Comment --> <!-- Level 2 Nested Comment -->
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm"> <div class="ml-2 mt-4 border-l-2 border-gray-200 pl-2 text-sm">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested2</small> <small class="text-text-muted ml-2 text-sm">@nested2</small>
@@ -187,7 +187,7 @@
</div> </div>
<!-- Level 3 Nested Comment --> <!-- Level 3 Nested Comment -->
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm"> <div class="ml-2 mt-4 border-l-2 border-gray-200 pl-2 text-sm">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested3</small> <small class="text-text-muted ml-2 text-sm">@nested3</small>
@@ -205,7 +205,7 @@
</div> </div>
<!-- Level 4 Nested Comment --> <!-- Level 4 Nested Comment -->
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm"> <div class="ml-2 mt-4 border-l-2 border-gray-200 pl-2 text-sm">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested4</small> <small class="text-text-muted ml-2 text-sm">@nested4</small>
@@ -217,7 +217,7 @@
</div> </div>
<!-- Level 5 Nested Comment --> <!-- Level 5 Nested Comment -->
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm"> <div class="ml-2 mt-4 border-l-2 border-gray-200 pl-2 text-sm">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested5</small> <small class="text-text-muted ml-2 text-sm">@nested5</small>
@@ -229,7 +229,7 @@
</div> </div>
<!-- Level 6 Nested Comment --> <!-- Level 6 Nested Comment -->
<div class="ml-6 mt-4 border-l-2 border-gray-200 pl-4 text-sm"> <div class="ml-2 mt-4 border-l-2 border-gray-200 pl-2 text-sm">
<div class="mb-1"> <div class="mb-1">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a> <a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover">▲</a>
<small class="text-text-muted ml-2 text-sm">@nested6</small> <small class="text-text-muted ml-2 text-sm">@nested6</small>