File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -727,6 +727,10 @@ svg {
727727 margin-bottom : 1.25rem ;
728728}
729729
730+ .-mr-px {
731+ margin-right : -1px ;
732+ }
733+
730734.ml-1 {
731735 margin-left : 0.25rem ;
732736}
@@ -1947,8 +1951,12 @@ svg {
19471951 vertical-align : -0.05rem ;
19481952}
19491953
1950- .\[\&\:last-child\>\*\]\:border-0 : last-child > * {
1951- border-width : 0px ;
1954+ .\[\&\:nth-last-child\(2\)\>\*\]\:border-b-0 : nth-last-child (2 )> * {
1955+ border-bottom-width : 0px ;
1956+ }
1957+
1958+ .\[\&\:last-child\>\*\]\:border-b-0 : last-child > * {
1959+ border-bottom-width : 0px ;
19521960}
19531961
19541962.\[\&\:checked\~\.dot\]\:translate-x-full : checked ~ .dot {
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ document.querySelectorAll('[data-panel]').forEach(panel => {
4040 if ( name === 'error' ) {
4141 result += `<tr><td colspan="2" class="text-center p-4">${ value } </td></tr>` ;
4242 } else {
43- result += `<tr class="[&:last-child>*]:border-0">
43+ result += `<tr class="[&:last-child>*]:border-b- 0">
4444 <td class="border-b border-gray-100 px-4 py-1 text-sm font-semibold whitespace-nowrap">${ name } </td>
4545 <td class="border-b border-gray-100 px-4 py-1 text-sm">${ value } </td>
4646 </tr>` ;
Original file line number Diff line number Diff line change 2727 <tbody >
2828 {% if cached_scripts %}
2929 {% for script in cached_scripts %}
30- <tr class =" [& :last-child>*]:border-0" data-key =" {{ script .invalidate_url }}" >
30+ <tr class =" [& :nth- last-child(2) >*]:border-b -0" data-key =" {{ script .invalidate_url }}" >
3131 <td class =" show-path cursor-pointer border-b border-gray-100 px-3 py-2 text-sm font-semibold text-sky-500 md:px-5" >{{ script .name }}</td >
3232 <td class =" border-b border-gray-100 px-3 py-2 text-sm md:px-5" >{{ script .hits }}</td >
3333 <td class =" border-b border-gray-100 px-3 py-2 text-sm md:px-5" >{{ script .memory }}</td >
3737 <button type =" button" class =" delete-key font-semibold text-red-500 hover:text-red-700" >Invalidate</button >
3838 </td >
3939 </tr >
40- <tr class =" hidden" data-path =" {{ script .invalidate_url }}" >
41- <td colspan =" 6" class =" border-b border-gray-100 px-3 py-2 text-sm md:px-5" >{{ script .path }}</td >
40+ <tr class =" hidden [ & :last-child>*]:border-b-0 " data-path =" {{ script .invalidate_url }}" >
41+ <td colspan =" 6" class =" border-b border-t border- gray-100 px-3 py-2 text-sm md:px-5" >{{ script .path }}</td >
4242 </tr >
4343 {% endfor %}
4444 {% else %}
Original file line number Diff line number Diff line change 66{% endif %}
77
88{% if panels_toggler is not defined %}
9- <label for =" toggle-panels" class =" mb-3 flex cursor-pointer items-center" >
9+ <label for =" toggle-panels" class =" mb-3 flex cursor-pointer items-center lg:justify-end " >
1010 <span class =" relative block h-6 w-10 rounded-full bg-gray-400 shadow" >
1111 <input type =" checkbox" id =" toggle-panels"
1212 class =" sr-only [& :checked~.dot]:translate-x-full [& :checked~.dot]:bg-gray-900 [& :checked~.dot]:text-white
1313 [& :checked~.dot>.open]:block [& :checked~.dot>.close]:hidden" >
1414 <span class =" dot absolute left-1 top-1 inline-flex h-4 w-4 items-center justify-center rounded-full text-gray-600 bg-gray-50 transition-transform" >
15- {{ svg(' open' , 10 , ' open hidden' ) }}
16- {{ svg(' close' , 10 , ' close' ) }}
15+ {{ svg(' open' , 10 , ' open -mr-px hidden' ) }}
16+ {{ svg(' close' , 10 , ' close -mr-px ' ) }}
1717 </span >
1818 </span >
1919 <span class =" ml-1 text-sm leading-normal" >Toggle panels</span >
Original file line number Diff line number Diff line change 3131 <td colspan =" 2" class =" px-4 py-2 text-xs font-bold uppercase whitespace-nowrap" >{{ name | replace ({' _' : ' ' }) }}</td >
3232 </tr >
3333 {% for sub_name , sub_value in value %}
34- <tr class =" [& :last-child>*]:border-0" >
34+ <tr class =" [& :last-child>*]:border-b- 0" >
3535 <td class =" border-b border-gray-100 px-4 py-1 text-sm font-semibold whitespace-nowrap" >{{ sub_name }}</td >
3636 <td class =" border-b border-gray-100 px-4 py-1 text-sm" >{{ sub_value | raw }}</td >
3737 </tr >
3838 {% endfor %}
3939 {% else %}
40- <tr class =" [& :last-child>*]:border-0" >
40+ <tr class =" [& :last-child>*]:border-b- 0" >
4141 <td class =" border-b border-gray-100 px-4 py-1 text-sm font-semibold whitespace-nowrap" >{{ name }}</td >
4242 <td class =" border-b border-gray-100 px-4 py-1 text-sm" >{{ value | raw }}</td >
4343 </tr >
Original file line number Diff line number Diff line change 2020 <tbody >
2121 {% if keys %}
2222 {% for key in keys %}
23- <tr class =" [& :last-child>*]:border-0" data-key =" {{ key .key }}" >
23+ <tr class =" [& :last-child>*]:border-b- 0" data-key =" {{ key .key }}" >
2424 <td class =" border-b border-gray-100 px-3 py-2 md:px-5" >
2525 <input type =" checkbox"
2626 class =" checkbox-key checkbox text-{{ color }}-500 -mt-1.5 h-4 w-4 select-none appearance-none rounded border border-gray-300 bg-white align-middle
You can’t perform that action at this time.
0 commit comments