kartik-v / yii2-detail-view

Various enhancements to the Yii 2 Detail View with ability to edit data and manage styles using BS3.
http://demos.krajee.com/detail-view
Other
70 stars 56 forks source link

Table setting condensed not effective when using columns #178

Closed gunnar-rikardsson closed 2 years ago

gunnar-rikardsson commented 4 years ago

Prerequisites

Steps to reproduce the issue

  1. Declare a DetailView with columns
  2. Set option condensed to true

Expected behavior and actual behavior

When I follow those steps, I see full size table cells

I was expecting smaller cells with less padding around cell content

Environment

Browsers

Operating System

Libraries

Isolating the problem

The css class table-sm for td and th that sets padding to 0.3rem in boostrap4 (0.75rem on demo site) is overwritten in kv-detail-view.css with .table .kv-child-table > tbody > tr > td/th setting padding to 8px.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.