Skip to content

Commit

Permalink
fix: remove style tag
Browse files Browse the repository at this point in the history
  • Loading branch information
rxri committed Jun 16, 2024
1 parent 544ed7d commit 21f8c06
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions CustomApps/lyrics-plus/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,20 +171,7 @@ const Utils = {
},
rubyTextToOriginalReact(translated, syncedText) {
const react = Spicetify.React;
return react.createElement("p1", null, [
react.createElement(
"ruby",
{},
syncedText,
react.createElement(
"rt",
{
style: { textAlign: "center", letterSpacing: 10, fontSize: "60%" }
},
translated
)
)
]);
return react.createElement("p1", null, [react.createElement("ruby", {}, syncedText, react.createElement("rt", null, translated))]);
},
rubyTextToReact(s) {
const react = Spicetify.React;
Expand Down

0 comments on commit 21f8c06

Please sign in to comment.