|
42 | 42 | <div class="mt-4 flex justify-end">
|
43 | 43 | <button
|
44 | 44 | type="button"
|
45 |
| - class="rounded bg-indigo-600 px-2 py-1 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" |
| 45 | + class="rounded bg-indigo-600 px-3 py-1.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" |
46 | 46 | >
|
47 | 47 | Submit
|
48 | 48 | </button>
|
|
60 | 60 | </div>
|
61 | 61 | <div class="mt-8 flow-root">
|
62 | 62 | <div class="-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
|
63 |
| - <div class="inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8"> |
| 63 | + <div class="inline-block table-responsive min-w-full py-2 align-middle sm:px-6 lg:px-8"> |
64 | 64 | <table class="min-w-full divide-y divide-gray-300">
|
65 | 65 | <thead>
|
66 | 66 | <tr>
|
|
121 | 121 | <td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500">
|
122 | 122 | Finished
|
123 | 123 | </td>
|
124 |
| - <td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-0"> |
| 124 | + <td class="whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-0"> |
125 | 125 | <a
|
126 | 126 | href="#"
|
127 |
| - class="text-indigo-600 hover:text-indigo-900" |
128 |
| - >Edit<span class="sr-only">, Lindsay Walton</span></a> |
| 127 | + class="text-gray-400 text-left hover:text-gray-500 duration-150 ease-in-out transition" |
| 128 | + > |
| 129 | + <svg |
| 130 | + fill="currentColor" |
| 131 | + viewBox="0 0 20 20" |
| 132 | + xmlns="http://www.w3.org/2000/svg" |
| 133 | + aria-hidden="true" |
| 134 | + class="w-5 h-5" |
| 135 | + > |
| 136 | + <path d="M10 3a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM10 8.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM11.5 15.5a1.5 1.5 0 10-3 0 1.5 1.5 0 003 0z" /> |
| 137 | + </svg> |
| 138 | + |
| 139 | + </a> |
129 | 140 | </td>
|
130 | 141 | </tr>
|
131 | 142 | <tr>
|
|
146 | 157 | <td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500">
|
147 | 158 | Finished
|
148 | 159 | </td>
|
149 |
| - <td class="relative whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-0"> |
| 160 | + <td class=" whitespace-nowrap py-4 pl-3 pr-4 text-right text-sm font-medium sm:pr-0"> |
150 | 161 | <a
|
151 | 162 | href="#"
|
152 |
| - class="text-indigo-600 hover:text-indigo-900" |
153 |
| - >Edit<span class="sr-only">, Lindsay Walton</span></a> |
| 163 | + class="text-gray-400 text-left hover:text-gray-500 duration-150 ease-in-out transition" |
| 164 | + > |
| 165 | + <svg |
| 166 | + fill="currentColor" |
| 167 | + viewBox="0 0 20 20" |
| 168 | + xmlns="http://www.w3.org/2000/svg" |
| 169 | + aria-hidden="true" |
| 170 | + class="w-5 h-5" |
| 171 | + > |
| 172 | + <path d="M10 3a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM10 8.5a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM11.5 15.5a1.5 1.5 0 10-3 0 1.5 1.5 0 003 0z" /> |
| 173 | + </svg> |
| 174 | + |
| 175 | + <div |
| 176 | + class="absolute hidden dropdown-menu right-20 z-10 mt-2 w-48 origin-top-right rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none" |
| 177 | + role="menu" |
| 178 | + aria-orientation="vertical" |
| 179 | + aria-labelledby="menu-button" |
| 180 | + tabindex="-1" |
| 181 | + > |
| 182 | + <div |
| 183 | + class="py-1" |
| 184 | + role="none" |
| 185 | + > |
| 186 | + <!-- Active: "bg-gray-100 text-gray-900", Not Active: "text-gray-700" --> |
| 187 | + <a |
| 188 | + id="menu-item-0" |
| 189 | + href="#" |
| 190 | + class="text-gray-700 block px-4 py-1.5 text-sm hover:bg-gray-100 text-xs" |
| 191 | + role="menuitem" |
| 192 | + tabindex="-1" |
| 193 | + >View</a> |
| 194 | + <a |
| 195 | + id="menu-item-1" |
| 196 | + href="#" |
| 197 | + class="text-gray-700 block px-4 py-1.5 text-sm hover:bg-gray-100 text-xs" |
| 198 | + role="menuitem" |
| 199 | + tabindex="-1" |
| 200 | + >Re-run</a> |
| 201 | + <a |
| 202 | + id="menu-item-2" |
| 203 | + href="#" |
| 204 | + class="text-gray-700 block px-4 py-1.5 text-sm hover:bg-gray-100 text-xs" |
| 205 | + role="menuitem" |
| 206 | + tabindex="-1" |
| 207 | + >Delete</a> |
| 208 | + </div> |
| 209 | + </div> |
| 210 | + </a> |
154 | 211 | </td>
|
155 | 212 | </tr>
|
156 | 213 | </tbody>
|
|
166 | 223 | code {
|
167 | 224 | @apply rounded-lg !important
|
168 | 225 | }
|
| 226 | +
|
| 227 | +.table-responsive { |
| 228 | + position: static !important; |
| 229 | +} |
| 230 | +
|
| 231 | +.table-responsive{ |
| 232 | + overflow-y: visible !important; |
| 233 | +} |
169 | 234 | </style>
|
0 commit comments