Skip to content

Commit

Permalink
fix: change where maxDimensions are calculated
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed Oct 25, 2024
1 parent c8ae94f commit fa90690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playgrounds/app/src/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ export default function Editor(props: EditorProps) {
<ShikiMagicMove
lang={props.language}
theme={props.theme}
class="p-4 shadow-xl rounded select-none overflow-hidden !text-pretty"
class="p-4 shadow-xl rounded select-none overflow-hidden"
highlighter={highlighter()}
code={code()}
options={{
Expand All @@ -564,7 +564,7 @@ export default function Editor(props: EditorProps) {
<ShikiMagicMove
lang={props.language}
theme={props.theme}
class="p-4 shadow-xl rounded select-none overflow-hidden !text-pretty"
class="p-4 shadow-xl rounded select-none overflow-hidden"
highlighter={highlighter()}
code={hiddenCode()}
options={{
Expand Down

0 comments on commit fa90690

Please sign in to comment.