Ver Fonte

[site]Fix code group style for Safari

dufu1991 há 1 ano atrás
pai
commit
1f07e5800c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      site/src/utils/index.js

+ 1 - 1
site/src/utils/index.js

@@ -118,7 +118,7 @@ export const groupIconMdPlugin = md => {
 		const arr = [];
 		item.forEach((subItem, subIndex) => {
 			const label = `
-			<input id="tab-${index + '-' + subIndex}" type="radio" name="tab-${index}" class="peer/tab-${index + '-' + subIndex} w-0" ${
+			<input id="tab-${index + '-' + subIndex}" type="radio" name="tab-${index}" class="peer/tab-${index + '-' + subIndex} w-0 hidden" ${
 				subIndex === 0 ? 'checked' : ''
 			} />
 				<label