style: 调整 LiveStreamCard 组件按钮的 margin 样式
将“立即观看”按钮的 margin-left 从 mx-auto 改为 ml-auto,使其靠右对齐
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -33,7 +33,7 @@ | ... | @@ -33,7 +33,7 @@ |
| 33 | <div class="w-5 h-5 rounded-full bg-gray-500 border border-white"></div> | 33 | <div class="w-5 h-5 rounded-full bg-gray-500 border border-white"></div> |
| 34 | </div> --> | 34 | </div> --> |
| 35 | <!-- <span class="text-white text-xs ml-1">{{ stream.viewers }}人在看</span> --> | 35 | <!-- <span class="text-white text-xs ml-1">{{ stream.viewers }}人在看</span> --> |
| 36 | - <button class="mx-auto bg-green-500 text-white text-xs px-2 py-1 rounded"> | 36 | + <button class="ml-auto bg-green-500 text-white text-xs px-2 py-1 rounded"> |
| 37 | 立即观看 | 37 | 立即观看 |
| 38 | </button> | 38 | </button> |
| 39 | </div> | 39 | </div> | ... | ... |
-
Please register or login to post a comment