Skip to content
Discussion options

You must be logged in to vote

My goal is to have ability to implement different style rules for basic and fullscreen mode.

If your different style rules can be implemented with just CSS, then you can probably use .yarl__fullscreen:fullscreen selector:

.yarl__fullscreen:fullscreen /* target specific lightbox element */ {
  /* styling rules */
}

As far as I understand, fullscreen mode have built-in browser's styling except for inner elements, that styled as basic lightbox slides... Isn't it?

YARL doesn't implement any specific styling in fullscreen mode.

Also I see some React-context in '\node_modules\yet-another-react-lightbox\dist\plugins\fullscreen\index.js' . Possibly it could appear as stupid question - sorry …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jimdigrease
Comment options

@igordanchenko
Comment options

Answer selected by jimdigrease
@jimdigrease
Comment options

@igordanchenko
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants