diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..77c8da8 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,33 @@ +name: Lint + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + run-linters: + name: Run linters + runs-on: ubuntu-latest + + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: 14 + + - uses: pnpm/action-setup@v2 + with: + version: latest + + - name: Install Node.js dependencies + run: pnpm install + + - name: Run linters + run: pnpm run lint diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..2e83ded --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["EditorConfig.EditorConfig", "esbenp.prettier-vscode"] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9bf4d12 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true +} diff --git a/manifest.json b/manifest.json index a123cab..2dcc48a 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "name": "Bring Back WackyWebM Epicness", "description": "Restores the webm glitch Discord had in July 2022.", "author": { - "name": "oirnoir", + "name": "OIRNOIR", "discordID": "720842469024989195", "github": "oirnoir" }, diff --git a/src/main.css b/src/main.css index 28ef49a..e6a5def 100644 --- a/src/main.css +++ b/src/main.css @@ -1,25 +1,25 @@ div[style*="aspect-ratio"] { - aspect-ratio: unset !important; - width: auto !important; + aspect-ratio: unset !important; + width: auto !important; } video[style*="width"]:not(#gif-picker-tab-panel [style*="width: auto"]) { - width: auto !important; - height: auto !important; - display: inline-block !important; + width: auto !important; + height: auto !important; + display: inline-block !important; } [class*="imageWrapper-"] > div { - background-color: transparent !important; - display: inline-flex !important; + background-color: transparent !important; + display: inline-flex !important; } [class*="imageWrapper-"] { - aspect-ratio: unset !important; - display: inline-flex !important; - width: unset !important; + aspect-ratio: unset !important; + display: inline-flex !important; + width: unset !important; } [class*="message-"]:not([class*="groupStart-"]) { - min-height: 0 !important; -} \ No newline at end of file + min-height: 0 !important; +}