Setting height and width to oxy_button?
Posted: Sat May 07, 2022 1:36 pm
Forgive me for being too pedantic
but how can one style an oxy_button in Author View css? At the moment, I have this:
As you can see in the attached image, the button has a different height from the text input it is sitting next to. It is also too wide considering that I'm using an icon.
Adding doesn't solve the problem because the height remains off and I still can't figure out how to control the width.
What am I missing?
Many thanks in advance.
All best,
Toma

Code: Select all
correspAction persName:after {
content: oxy_button(action, oxy_action(
name, '+',
description, 'Insert an element after the current one',
icon, url('add.png'),
operation, 'InsertFragmentOperation',
arg-fragment, '<persName xmlns="http://www.tei-c.org/ns/1.0">${caret}</persName>',
arg-insertLocation, '.',
arg-insertPosition, 'After')
)
}
Adding
Code: Select all
transparent, true
What am I missing?
Many thanks in advance.
All best,
Toma