Upgrade to tailwind 2

This commit is contained in:
Kurt Hutten
2021-05-01 09:29:16 +10:00
parent a5ebcc0446
commit e343bca75f
8 changed files with 197 additions and 4339 deletions

View File

@@ -44,11 +44,12 @@
"three": "^0.118.3"
},
"devDependencies": {
"autoprefixer": "9.8.6",
"postcss": "^8.2.13",
"autoprefixer": "^10.2.5",
"html-webpack-plugin": "^4.5.0",
"opentype.js": "^1.3.3",
"postcss-loader": "4.0.2",
"tailwindcss": "^1.9.1",
"tailwindcss": "^2.1.2",
"worker-loader": "^3.0.7"
}
}

View File

@@ -77,7 +77,7 @@ const EmojiReaction = ({
</div>
</div>
<div className="whitespace-no-wrap absolute right-0 inset-y-0 flex items-center flex-row-reverse">
<div className="whitespace-nowrap absolute right-0 inset-y-0 flex items-center flex-row-reverse">
{(emotes.length ? emotes : noEmotes).map((emote, i) => (
<span
className={getActiveClasses(

View File

@@ -10,7 +10,7 @@
@import "tailwindcss/utilities";
@import url('https://fonts.googleapis.com/css2?family=Ropa+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,500;1,700&display=swap')
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,500;1,700&display=swap');
/**
* END --- TAILWIND GENERATOR EDIT
*/

View File

@@ -1,11 +1,6 @@
module.exports = {
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
defaultLineHeights: true,
standardFontWeights: true,
},
purge: [],
purge: ['./src/**/*.html', './src/**/*.js', './src/**/*.ts', './src/**/*.tsx'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
backgroundImage: () => ({

File diff suppressed because it is too large Load Diff