Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS Bootstrap AngularJS - How to reduce table row height?

Tags:

css

angularjs

I want to reduce the height of any table row in the below plnkr example with CSS/Bootstrap:

https://plnkr.co/edit/ftea6vd1qaPZaXGusZAN

I've tried many approaches like:

line-height
padding
margin
height

and checked stackoverflow as well as the official documentation. None is working.

What am I missing to reduce the row height in the table (to display more content on the screen)?

Thanks, Martin

like image 996
Martin Avatar asked Mar 09 '26 13:03

Martin


1 Answers

Bootstrap has dedicated class for this table-condensed:

<table class="table table-bordered table-hover table-condensed">
like image 70
dfsq Avatar answered Mar 12 '26 02:03

dfsq



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!