primevue-mirror/components/lib/inputgroup/style/InputGroupStyle.js

42 lines
744 B
JavaScript
Raw Normal View History

2023-11-02 12:48:32 +00:00
import BaseStyle from 'primevue/base/style';
2024-01-30 08:02:29 +00:00
const css = `
@layer primevue {
.p-inputgroup {
display: flex;
align-items: stretch;
width: 100%;
}
.p-inputgroup-addon {
display: flex;
align-items: center;
justify-content: center;
}
.p-inputgroup .p-float-label {
display: flex;
align-items: stretch;
width: 100%;
}
.p-inputgroup .p-inputtext,
.p-fluid .p-inputgroup .p-inputtext,
.p-inputgroup .p-inputwrapper,
.p-fluid .p-inputgroup .p-input {
flex: 1 1 auto;
width: 1%;
}
}
`;
2023-11-02 12:48:32 +00:00
const classes = {
root: 'p-inputgroup'
};
export default BaseStyle.extend({
name: 'inputgroup',
2024-01-30 08:02:29 +00:00
css,
2023-11-02 12:48:32 +00:00
classes
});