We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f36aba commit 032031fCopy full SHA for 032031f
1 file changed
_themes/otc_tcs_sphinx_theme/static/tcs_theme.css
@@ -124,11 +124,13 @@ th,td {
124
padding-bottom: 30px !important;
125
}
126
127
- /* Ensure images scale properly on mobile */
+ /* Ensure images scale properly on mobile while maintaining aspect ratio */
128
table.distribution-table img {
129
max-width: 250px !important;
130
- width: 100% !important;
+ max-height: 250px !important;
131
+ width: auto !important;
132
height: auto !important;
133
+ object-fit: contain !important;
134
135
136
/* Adjust text sizing for mobile */
0 commit comments