UNPKG

table-responsive

Version:

adapts a table to a responsive format that can be viewed on small screens (mobile)

8 lines (7 loc) 463 B
{ "version": 3, "sources": ["../example/style.css"], "sourcesContent": ["table.adaptToMobile {\n @apply w-full;\n}\n\ntable.adaptToMobile th {\n @apply hidden sm:table-header-group;\n}\n\ntable.adaptToMobile tr {\n @apply flex flex-col sm:table-row border-b sm:border-0 mb-2 pb-2 sm:mb-0 sm:pb-0;\n}\n\n.hideOnBiggerScreen {\n @apply inline-block sm:hidden;\n}\n"], "mappings": "AAAA,oBACI,eAGJ,uBACI,qCAGJ,uBACI,kFAGJ,oBACI", "names": [] }