mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Update !important from component CSS
This commit is contained in:
parent
898088f455
commit
6c3ea8557d
19 changed files with 34 additions and 34 deletions
|
@ -1308,7 +1308,7 @@ export default {
|
|||
|
||||
widths.forEach((width, index) => {
|
||||
let colWidth = index === colIndex ? newColumnWidth : nextColumnWidth && index === colIndex + 1 ? nextColumnWidth : width;
|
||||
let style = `width: ${colWidth}px !important; max-width: ${colWidth}px !important`;
|
||||
let style = `width: ${colWidth}px; max-width: ${colWidth}px`;
|
||||
|
||||
innerHTML += `
|
||||
${selector} > thead[data-pc-section="thead"] > tr > th:nth-child(${index + 1}),
|
||||
|
@ -1764,7 +1764,7 @@ export default {
|
|||
let selector = `[data-pc-name="datatable"][${this.attributeSelector}] > [data-pc-section="wrapper"] ${this.virtualScrollerDisabled ? '' : '> [data-pc-name="virtualscroller"]'} > table[data-pc-section="table"]`;
|
||||
|
||||
widths.forEach((width, index) => {
|
||||
let style = `width: ${width}px !important; max-width: ${width}px !important`;
|
||||
let style = `width: ${width}px; max-width: ${width}px`;
|
||||
|
||||
innerHTML += `
|
||||
${selector} > thead[data-pc-section="thead"] > tr > th:nth-child(${index + 1}),
|
||||
|
@ -1903,12 +1903,12 @@ export default {
|
|||
@media screen and (max-width: ${this.breakpoint}) {
|
||||
${selector} > .p-datatable-thead > tr > th,
|
||||
${selector} > .p-datatable-tfoot > tr > td {
|
||||
display: none !important;
|
||||
display: none;
|
||||
}
|
||||
|
||||
${selector} > .p-datatable-tbody > tr > td {
|
||||
display: flex;
|
||||
width: 100% !important;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue