DataTables pagination with v8.1

Hi all,
in Metronic: v8.0 was:

.page-item .page-link { min-width: 2.5rem; }

while in Metronic v8.1 is:

.page-item .page-link { width: 2.5rem; }

This causes issues with custom labels (e.g. 'Previous' instead of '

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (4)

Hi,

Can you please double check the updated markup of the pagination with labels.

<ul class="pagination">
<li class="page-item previous disabled">
<span class="page-link page-text">Previous</span></span>
</li>
</ul>

Regards.

I know Sean but the problem is with DataTables. Pagination is automactically handled by (DataTables) script, so I don't have any markup to update.
Should I change the "dom" option?
Mine is "dom: "rt",

Thank you,
Paolo

Hi,

Noted, we will double-check this and update you shortly.

Regards.

Hi,

As per our checking we confirm that you can fix it in src/sass/components/_pagination.scss by changing width to min-width and recompile the assets. We will push this fix in the next update.

Regards.

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(