mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 19:52:15 +01:00
add responsive tables and time/client/member/tags index page
This commit is contained in:
@@ -43,14 +43,15 @@ const switchToTeam = (team: Organization) => {
|
||||
class="flex hover:bg-white/10 cursor-pointer transition px-2 py-1 rounded-lg w-full items-center justify-between font-medium">
|
||||
<div class="flex flex-1 space-x-3 items-center w-4/5">
|
||||
<div
|
||||
class="rounded-lg bg-blue-900 font-semibold flex-shrink-0 text-white w-7 h-7 flex items-center justify-center">
|
||||
class="rounded sm:rounded-lg bg-blue-900 font-semibold text-xs sm:text-base flex-shrink-0 text-white w-5 sm:w-7 h-5 sm:h-7 flex items-center justify-center">
|
||||
{{
|
||||
page.props.auth.user.current_team.name
|
||||
.slice(0, 1)
|
||||
.toUpperCase()
|
||||
}}
|
||||
</div>
|
||||
<span class="text-lg flex-1 truncate font-semibold">
|
||||
<span
|
||||
class="text-sm sm:text-lg flex-1 truncate font-semibold">
|
||||
{{ page.props.auth.user.current_team.name }}
|
||||
</span>
|
||||
</div>
|
||||
@@ -58,7 +59,7 @@ const switchToTeam = (team: Organization) => {
|
||||
<button
|
||||
class="p-1 transition hover:bg-white/10 rounded-full flex items-center w-9 h-9">
|
||||
<ChevronDownIcon
|
||||
class="w-full mt-[1px]"></ChevronDownIcon>
|
||||
class="w-5 sm:w-full mt-[1px]"></ChevronDownIcon>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user