Skip to content

Commit

Permalink
Fix CSS on downloaded replays
Browse files Browse the repository at this point in the history
  • Loading branch information
Karthik99999 committed Oct 20, 2023
1 parent d6efeb8 commit 36b2dff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions js/replay-embed.template.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ function requireScript(url) {
}

linkStyle('https://play.pokemonshowdown.com/style/font-awesome.css?');
linkStyle('https://pokemonshowdown.com/theme/panels.css?');
linkStyle('https://pokemonshowdown.com/theme/main.css?');
linkStyle('https://play.pokemonshowdown.com/style/battle.css?a7');
linkStyle('https://play.pokemonshowdown.com/style/replay.css?a7');
linkStyle('https://play.pokemonshowdown.com/style/utilichart.css?a7');
Expand Down
10 changes: 6 additions & 4 deletions style/battle.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,12 @@ License: GPLv2
}
.battle-log-inline {
position: static;
top: auto;
right: auto;
bottom: auto;
left: auto;
border: 1px solid #AAAAAA;
background: #EEF2F5;
color: black;
max-width: 640px;
margin: 0 auto 80px;
padding-bottom: 5px;
height: auto;
width: auto;
overflow-y: auto;
Expand Down

0 comments on commit 36b2dff

Please sign in to comment.