Skip to content

Commit

Permalink
Change asciinema container style
Browse files Browse the repository at this point in the history
From videoblock to asciinemablock to have different
styling config apart from other video players.

Fixes #38
  • Loading branch information
jvalkeal committed Aug 7, 2024
1 parent f531822 commit 143a227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/asciinema-extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const toBlock = (attrs, parent, source, context, uiCatalog, defaultOptions, file
source = doc.$apply_subs(attrs.subs, doc.$resolve_subs(subs))
}
const idAttr = attrs.id ? ` id="${attrs.id}"` : ''
const classAttr = attrs.role ? `${attrs.role} videoblock` : 'videoblock'
const classAttr = attrs.role ? `${attrs.role} asciinemablock` : 'asciinemablock'

const block = context.$create_pass_block(parent, '', Opal.hash(attrs))

Expand Down

0 comments on commit 143a227

Please sign in to comment.