Преглед изворни кода

[site]Fix code group style for Safari

dufu1991 пре 1 година
родитељ
комит
1f07e5800c
1 измењених фајлова са 1 додато и 1 уклоњено
  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