diff --git a/src/views/overlaypanel/OverlayPanelDemo.vue b/src/views/overlaypanel/OverlayPanelDemo.vue index 0bb5c13ee..d3c6df9ea 100755 --- a/src/views/overlaypanel/OverlayPanelDemo.vue +++ b/src/views/overlaypanel/OverlayPanelDemo.vue @@ -13,13 +13,13 @@ - - + + - + diff --git a/src/views/overlaypanel/OverlayPanelDoc.vue b/src/views/overlaypanel/OverlayPanelDoc.vue index 930700b09..ef1873771 100755 --- a/src/views/overlaypanel/OverlayPanelDoc.vue +++ b/src/views/overlaypanel/OverlayPanelDoc.vue @@ -162,13 +162,13 @@ toggle(event) { <OverlayPanel ref="op" appendTo="body" :showCloseIcon="true" id="overlay_panel" style="width: 450px"> <DataTable :value="products" v-model:selection="selectedProduct" selectionMode="single" :paginator="true" :rows="5" @row-select="onProductSelect" responsiveLayout="scroll"> - <Column field="name" header="Name" sortable></Column> - <Column header="Image"> + <Column field="name" header="Name" sortable style="width: 50%"></Column> + <Column header="Image" style="width: 20%"> <template #body="slotProps"> <img :src="'demo/images/product/' + slotProps.data.image" :alt="slotProps.data.image" class="product-image" /> </template> </Column> - <Column field="price" header="Price" sortable> + <Column field="price" header="Price" sortable style="width: 30%"> <template #body="slotProps"> {{formatCurrency(slotProps.data.price)}} </template> @@ -231,13 +231,13 @@ export default { - - + + - +