mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Refactor #5502
This commit is contained in:
parent
da631a7d67
commit
3dcf5558cd
4 changed files with 31 additions and 29 deletions
|
@ -1,7 +1,10 @@
|
|||
import Theme, { $dt } from 'primevue/themes';
|
||||
import Theme from 'primevue/themes';
|
||||
import { useStyle } from 'primevue/usestyle';
|
||||
import { ObjectUtils } from 'primevue/utils';
|
||||
|
||||
/**
|
||||
* @todo padding-right: ${$dt('scrollbar.width')};
|
||||
*/
|
||||
const css = `
|
||||
.p-hidden-accessible {
|
||||
border: 0;
|
||||
|
@ -21,7 +24,7 @@ const css = `
|
|||
|
||||
.p-overflow-hidden {
|
||||
overflow: hidden;
|
||||
padding-right: ${$dt('scrollbar.width')};
|
||||
padding-right: var(--p-scrollbar-width);
|
||||
}
|
||||
`;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue