Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Table not changing size when I add table-sm

teddynyambe priority asked 2 years ago


Expected behavior Small rows on the table after adding table-sm Actual behavior There is no change in size of rows when i add table-sm Resources (screenshots, code snippets etc.)The rows of the table are still big/large despite adding table-sm

<div class="datatable mt-4">
        <table class="table table-sm datatable-table table-bordered table-striped" mdbTable mdbTableSort #table="mdbTable"
            #sortSearch="mdbTableSort" [dataSource]="dataSource" [sort]="sortSearch"
            [pagination]="paginationSearch"></table></div>

Arkadiusz Idzikowski staff answered 2 years ago


We are already aware of this problem but it has not been fixed yet. Please try to add datatable-sm class to the div with datatable class instead.

<div class="datatable datatable-sm mt-4">


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 1.6.1
  • Device: ThinkPad
  • Browser: Edge
  • OS: Windows 10 Pro
  • Provided sample code: No
  • Provided link: No