```
refactor(tailwind.config.js): 禁用部分Tailwind CSS类以解决微信小程序兼容性问题 为了解决微信小程序中的兼容性问题,禁用了以下Tailwind CSS类: - `gap`:微信小程序不支持 gap 属性- `lineClamp`:微信小程序不支持 line-clamp 类 - `textIndent`:禁用 text-indent - `writingMode`:禁用 writing-mode - `hyphens`:禁用 hyphens ```
This commit is contained in:
@@ -117,7 +117,7 @@ const AdminPanel: React.FC<AdminPanelProps> = ({
|
||||
{adminFeatures.map((feature) => (
|
||||
<View
|
||||
key={feature.id}
|
||||
className={`${feature.color} border rounded-xl p-4 active:scale-95 transition-transform`}
|
||||
className={`${feature.color} border rounded-xl p-4 admin-feature-item`}
|
||||
onClick={feature.onClick}
|
||||
>
|
||||
<View className="flex items-center mb-2">
|
||||
|
||||
Reference in New Issue
Block a user