refactor: Remove tooltip from card component
This commit is contained in:
1 parent
951d503105
commit
b70c7ba301
1 file changed
-25
@@ -4,31 +4,6 @@
|
||||
<div class="rounded-card flex justify-center absolute w-34 h-10 md:h-8 m-4 py-2 text-sm md:w-24.7 md:text-xs bg-indigo-700 text-white tracking-tighter rounded-md">
|
||||
<p>{{ listing.price }}</p>
|
||||
</div>
|
||||
<img alt=""
|
||||
class="absolute h-10 w-10 p-2 md:h-8 md:w-8 md:p-1.3 right-0 bottom-0 bg-indigo-900"
|
||||
onclick="toggleNavbar('collapse-tool-tip')"
|
||||
src="/assets/svg/icon_ellipsis.svg">
|
||||
<div class="z-10 absolute right-0 bottom-0 bg-indigo-900 hidden rounded-lg -mb-18 font-sans" id="collapse-tool-tip">
|
||||
<a class="flex px-4 py-2" href="#">
|
||||
<p class="flex text-sm xl:text-md text-gray-700 hover:text-gray-400 hover:font-semibold">
|
||||
<img alt="" class="mr-2 mt-1" onclick="toggleMap('example-collapse-direction')" src="/assets/svg/icon_map_pin.svg">
|
||||
Directions
|
||||
</p>
|
||||
</a>
|
||||
<a class="flex px-4 py-2" href="#">
|
||||
<p class="flex text-sm xl:text-md text-gray-700 hover:text-gray-400 hover:font-semibold">
|
||||
<img alt="" class="mr-2 mt-1" src="/assets/svg/icon_link.svg">
|
||||
Copy link
|
||||
</p>
|
||||
</a>
|
||||
<a class="flex px-4 py-2">
|
||||
<p class="flex text-sm xl:text-md text-gray-700 hover:text-gray-400 hover:font-semibold"
|
||||
onclick="toggleSidebar('report-form-modal');toggleOverlay('example-collapse-overlay')">
|
||||
<img alt="" class="mr-2 mt-1" src="/assets/svg/icon_report.svg">
|
||||
Report this
|
||||
</p>
|
||||
</a>
|
||||
</div>
|
||||
<img alt="" class="h-full w-full object-cover cursor-pointer rounded-tl-card rounded-tr-card" onclick="toggleSidebar('inquiry-modal');toggleOverlay('collapse-overlay')" src="{{ listing.image }}">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user