mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4530 - Export styles of all components
This commit is contained in:
parent
7b6d458067
commit
dc2913e887
463 changed files with 10696 additions and 9670 deletions
30
components/lib/textarea/style/TextareaStyle.js
Normal file
30
components/lib/textarea/style/TextareaStyle.js
Normal file
|
@ -0,0 +1,30 @@
|
|||
import BaseStyle from 'primevue/base/style';
|
||||
|
||||
const css = `
|
||||
@layer primevue {
|
||||
.p-inputtextarea-resizable {
|
||||
overflow: hidden;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.p-fluid .p-inputtextarea {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const classes = {
|
||||
root: ({ instance, props }) => [
|
||||
'p-inputtextarea p-inputtext p-component',
|
||||
{
|
||||
'p-filled': instance.filled,
|
||||
'p-inputtextarea-resizable ': props.autoResize
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default BaseStyle.extend({
|
||||
name: 'textarea',
|
||||
css,
|
||||
classes
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue