How to set Pager font size

Hello everyone!
Please tell me how do I change the font size for the pager connected to the Datatable?
I tried to add css style but it doesn't seem to work.
html part:
pager:{
container:"divpager",
height:50,
css:"pager"
},

CSS part:
.pager{
font-size: 40px;
width: 700px;
color: #000;
}
Maybe there exists a predefined css style for pagers?

P.S. I am new to this forum and I couldn't find the forum's rules to read whether I may write in Russian or I must use English only. ;)

Tagged:

Comments

  • Hello,

    Please, check the snippet: https://webix.com/snippet/a0c71f35

    The font-size is set for webix_pager_item and webix_pager_item_selected (you can check it via DOM inspector).
    Please note that in Webix components, css property assigns the specified class to the main div of the component, not to the all nested elements, so the styling requires a proper CSS selector.

    As a side note, please avoid setting sizes via CSS, as it can interrupt the Webix sizing logic.

  • Yes, thanks, it works.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!