一些 Tailwind CSS 和 Ant Design Vue 搭配使用的坑 Ant Design Vue • Dec 23, 2022 當搭配使用 Tailwind CSS 和 Ant Design Vue,會遇到一些樣式表上的衝突,這裏記錄如下:Image由於 Tailwind CSS 將所有的 <img> 元素設置爲 display: block;,而 AImagePreview 中的圖片置中依賴 img 爲 display: inline; 的默認實現,故需要爲 .ant-image-preview-img 手動設置 display: inline; Tags Ant Design Vue Frontend Vue.js Tailwind CSS Subscribe to our newsletter Get the latest posts delivered right to your inbox. Your email address Subscribe Now check your inbox and click the link to confirm your subscription. Please enter a valid email address Oops! There was an error sending the email, please try later. Stanley Tsau Email: [email protected] Recommended for you Backend Keycloak + Vue.js + Spring Boot 配置指南 3 years ago • 9 min read Frontend Display validation error message by backend in Ant Design Vue 2 years ago • 3 min read Frontend Traverse a binary tree from bottom up with leaf nodes regarded at the same level a year ago • 2 min read
Frontend Traverse a binary tree from bottom up with leaf nodes regarded at the same level a year ago • 2 min read