File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 5353 tr {
5454 height : auto ;
5555 object-fit : contain ;
56- max-height : 200px ;
57- overflow : hidden ;
56+
5857 }
5958
6059 .title {
@@ -107,42 +106,42 @@ tags:
107106 /* Responsive stacking */
108107 @media (max-width : 700px ) {
109108
110- /* Make each row a vertical card */
109+ /* Make each row a card */
111110 tr {
112111 display : flex ;
113112 flex-direction : column ;
114- margin-bottom : 2em ;
115113 border : 1px solid #333 ;
116114 border-radius : 10px ;
115+ margin-bottom : 1.5em ;
117116 overflow : hidden ;
118117 }
119118
120- /* Hide header row only */
121119 thead {
122120 display : none ;
123121 }
124122
125123 td {
124+ display : block ;
126125 width : 100% ;
127126 border : none ;
128127 padding : 1em ;
129128 box-sizing : border-box ;
130129 }
131130
132- /* Image: full width, auto height */
131+ /* Image becomes full- width */
133132 td img {
134133 width : 100% ;
135134 height : auto ;
136- max-height : none ;
135+ max-height : none ; /* important */
137136 object-fit : contain ;
138- border-radius : 0 ;
137+ display : block ;
139138 }
140139
141- /* Container padding fix */
142140 .table-container {
143- padding : 0 0 .5em ;
141+ padding : 0 .5em ;
144142 }
145143}
144+
146145</style >
147146<div class =" table-container " >
148147 <table >
You can’t perform that action at this time.
0 commit comments