refactor: update finance dashboard market cards to use flexbox layout for responsive wrapping
This commit is contained in:
@@ -50,11 +50,11 @@
|
||||
<span class="w-2 h-2 rounded-full bg-[#00e676] animate-pulse"></span>
|
||||
<span class="text-[#cacaca] text-[0.75rem] font-bold tracking-wider uppercase">{!! t('Canlı Piyasalar') !!}</span>
|
||||
</div>
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4">
|
||||
<div style="display: flex; flex-wrap: wrap; gap: 16px;">
|
||||
|
||||
{{-- USD Card --}}
|
||||
<div>
|
||||
<div class="bg-white rounded-xl p-4 shadow-sm flex flex-col justify-between" style="min-height: 105px;">
|
||||
<div style="flex: 1 1 calc(25% - 12px); min-width: 200px;">
|
||||
<div class="bg-white rounded-xl p-4 shadow-sm" style="min-height: 105px; display: flex; flex-direction: column; justify-content: space-between;">
|
||||
<div class="flex items-center justify-between !mb-2">
|
||||
<span class="text-[0.8rem] font-bold text-gray-500 uppercase">USD</span>
|
||||
<div class="flex items-center gap-1" id="usd-change-container" style="color: #009846;">
|
||||
@@ -74,8 +74,8 @@
|
||||
</div>
|
||||
|
||||
{{-- EUR Card --}}
|
||||
<div>
|
||||
<div class="bg-white rounded-xl p-4 shadow-sm flex flex-col justify-between" style="min-height: 105px;">
|
||||
<div style="flex: 1 1 calc(25% - 12px); min-width: 200px;">
|
||||
<div class="bg-white rounded-xl p-4 shadow-sm" style="min-height: 105px; display: flex; flex-direction: column; justify-content: space-between;">
|
||||
<div class="flex items-center justify-between !mb-2">
|
||||
<span class="text-[0.8rem] font-bold text-gray-500 uppercase">EUR</span>
|
||||
<div class="flex items-center gap-1" id="eur-change-container" style="color: #B9101E;">
|
||||
@@ -95,8 +95,8 @@
|
||||
</div>
|
||||
|
||||
{{-- GBP Card --}}
|
||||
<div>
|
||||
<div class="bg-white rounded-xl p-4 shadow-sm flex flex-col justify-between" style="min-height: 105px;">
|
||||
<div style="flex: 1 1 calc(25% - 12px); min-width: 200px;">
|
||||
<div class="bg-white rounded-xl p-4 shadow-sm" style="min-height: 105px; display: flex; flex-direction: column; justify-content: space-between;">
|
||||
<div class="flex items-center justify-between !mb-2">
|
||||
<span class="text-[0.8rem] font-bold text-gray-500 uppercase">GBP</span>
|
||||
<div class="flex items-center gap-1" id="gbp-change-container" style="color: #B9101E;">
|
||||
@@ -116,8 +116,8 @@
|
||||
</div>
|
||||
|
||||
{{-- GRA Card --}}
|
||||
<div>
|
||||
<div class="bg-white rounded-xl p-4 shadow-sm flex flex-col justify-between" style="min-height: 105px;">
|
||||
<div style="flex: 1 1 calc(25% - 12px); min-width: 200px;">
|
||||
<div class="bg-white rounded-xl p-4 shadow-sm" style="min-height: 105px; display: flex; flex-direction: column; justify-content: space-between;">
|
||||
<div class="flex items-center justify-between !mb-2">
|
||||
<span class="text-[0.8rem] font-bold text-gray-500 uppercase">GRA</span>
|
||||
<div class="flex items-center gap-1" id="gra-change-container" style="color: #B9101E;">
|
||||
|
||||
Reference in New Issue
Block a user