Make the OJS widgets style match bootstrap #7806
-
DescriptionThe OJS widget style and the 'default' bootstrap style do not match.
How do I make the OJS widgets use the nicer bootstrap style/theme?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is hard to do in general, because "Inputs.select()" is part of the ObservableHQ standard library, and ObservableHQ doesn't use bootstrap. The DOM elements are quite different. ObservableHQ emits an entire
Those elements are created at runtime, and ObservableHQ uses random IDs and classes, so we can't easily target those elements. What truly needs to be done is that we need a QuartoInputs library that uses You could always emit those yourself, and then convert the onclick handlers to ObservableHQ reactives using Generator.observe. Be warned that this will require using some advanced ObservableHQ concepts, though. |
Beta Was this translation helpful? Give feedback.
This is hard to do in general, because "Inputs.select()" is part of the ObservableHQ standard library, and ObservableHQ doesn't use bootstrap.
The DOM elements are quite different. ObservableHQ emits an entire
form
, as you can see with your browser's devtools:Those elements are created at runtime, and ObservableHQ uses random IDs and classes, so we can't easily target those elements.
What truly nee…