Skip to content

Commit

Permalink
chore: refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnuqw committed Feb 24, 2024
1 parent a6f230a commit f5aa830
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/injections/tab-preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ async function main() {
state.rootEl.setAttribute('id', 'sdbr_preview_root')
document.body.appendChild(state.rootEl)

if (!state.rootEl) return

await waitInitData()

const initData = window.sideberyInitData as TabPreviewInitData
Expand Down Expand Up @@ -271,9 +269,6 @@ async function main() {
padding: 0;
font-size: .875em;
font-weight: 700;
/* line-height: 1.2em;
max-height: 2.4em;
overflow: clip; */
line-height: 1.2em;
overflow: hidden;
text-overflow: ellipsis;
Expand All @@ -290,9 +285,6 @@ async function main() {
padding: 0;
font-size: .8125em;
font-weight: 400;
/* line-height: 1.2em;
max-height: 2.4em;
overflow: clip; */
line-height: 1.2em;
overflow: hidden;
text-overflow: ellipsis;
Expand Down

0 comments on commit f5aa830

Please sign in to comment.