Skip to content

Commit 032031f

Browse files
committed
try again
Signed-off-by: SteveMacenski <stevenmacenski@gmail.com>
1 parent 5f36aba commit 032031f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

_themes/otc_tcs_sphinx_theme/static/tcs_theme.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,13 @@ th,td {
124124
padding-bottom: 30px !important;
125125
}
126126

127-
/* Ensure images scale properly on mobile */
127+
/* Ensure images scale properly on mobile while maintaining aspect ratio */
128128
table.distribution-table img {
129129
max-width: 250px !important;
130-
width: 100% !important;
130+
max-height: 250px !important;
131+
width: auto !important;
131132
height: auto !important;
133+
object-fit: contain !important;
132134
}
133135

134136
/* Adjust text sizing for mobile */

0 commit comments

Comments
 (0)