Skip to content

Commit

Permalink
I don't like this style but i'll go with it
Browse files Browse the repository at this point in the history
  • Loading branch information
OIRNOIR committed Feb 25, 2023
1 parent ce6db04 commit cbbec67
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 13 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["EditorConfig.EditorConfig", "esbenp.prettier-vscode"]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
24 changes: 12 additions & 12 deletions src/main.css
Original file line number Diff line number Diff line change
@@ -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;
}
min-height: 0 !important;
}

0 comments on commit cbbec67

Please sign in to comment.