File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed
website/src/components/api/PropertyTable Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 2020.tableWrapper {
2121 position : relative;
2222 width : 100% ;
23+ max-width : 100% ;
2324 border : 1px solid var (--ifm-color-emphasis-200 );
2425 border-radius : 0.5rem ;
2526 background : var (--ifm-background-surface-color );
3839 -webkit-overflow-scrolling : touch;
3940 scrollbar-width : thin;
4041 scrollbar-color : var (--ifm-color-emphasis-300 ) transparent;
42+ max-width : 100% ;
4143}
4244
4345/* Custom Scrollbar */
6971/* Table */
7072.table {
7173 width : 100% ;
74+ max-width : 100% ;
7275 border-collapse : separate;
7376 border-spacing : 0 ;
74- min-width : 640 px ;
77+ table-layout : auto ;
7578}
7679
7780/* Table Header */
162165
163166/* Column Styles */
164167.nameColumn {
165- width : 20% ;
166- min-width : 180px ;
168+ width : auto;
169+ min-width : 120px ;
170+ max-width : 25% ;
167171}
168172
169173.typeColumn {
170- width : 15% ;
171- min-width : 140px ;
174+ width : auto;
175+ min-width : 100px ;
176+ max-width : 20% ;
172177}
173178
174179.requiredColumn {
175- width : 12% ;
176- min-width : 100px ;
180+ width : auto;
181+ min-width : 80px ;
182+ max-width : 15% ;
177183}
178184
179185.descriptionColumn {
180- width : auto;
186+ width : 1% ; /* Small width forces expansion to fill remaining space in auto layout */
187+ min-width : 200px ;
181188}
182189
183190/* Name Cell */
272279.descriptionCell {
273280 line-height : 1.6 ;
274281 color : var (--ifm-color-emphasis-700 );
282+ width : 100% ; /* Ensure cell expands to fill column width */
283+ min-width : 0 ; /* Allow shrinking if needed, but column width will enforce expansion */
275284}
276285
277286[data-theme = 'dark' ] .descriptionCell {
You can’t perform that action at this time.
0 commit comments