Skip to content

Commit

Permalink
Chore: Moved Blink Max w to youtube.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
scriptscrypt committed Oct 23, 2024
1 parent 5157eb2 commit 6e02c65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions packages/blinks/src/ext/youtube.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ import {
const containerWrapper = document.createElement('div');
containerWrapper.className = 'dialect-wrapper';
containerWrapper.style.marginTop = '12px';
containerWrapper.style.marginBottom = '12px';
containerWrapper.style.maxWidth = '400px';
containerWrapper.appendChild(actionContainer);

commentNode.appendChild(containerWrapper);
Expand Down
5 changes: 0 additions & 5 deletions packages/blinks/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
.blink {
container-type: inline-size;
}
/* Restricting the Width only for Youtube - can be done either ways */
/* Can also change depending on the platform */
.blink.youtube-dark, .blink.youtube-light {
max-width: 400px;
}

.blink input[type="date"]::-webkit-inner-spin-button, input[type="date"]::-webkit-calendar-picker-indicator, input[type="datetime-local"]::-webkit-inner-spin-button, input[type="datetime-local"]::-webkit-calendar-picker-indicator {
/*
Expand Down

0 comments on commit 6e02c65

Please sign in to comment.