Padding token for empty message

pull/5701/head
Cagatay Civici 2024-05-08 13:04:04 +03:00
parent 3866d9faea
commit a0224a99fc
12 changed files with 32 additions and 6 deletions

View File

@ -214,6 +214,10 @@ const theme = ({ dt }) => `
color: ${dt('autocomplete.placeholder.color')};
}
.p-autocomplete-empty-message {
padding: ${dt('autocomplete.empty.message.padding')};
}
.p-fluid .p-autocomplete {
display: flex;
}

View File

@ -94,7 +94,7 @@ const theme = ({ dt }) => `
}
.p-listbox-empty-message {
padding: ${dt('listbox.option.padding')};
padding: ${dt('listbox.empty.message.padding')};
}
`;

View File

@ -174,8 +174,7 @@ const theme = ({ dt }) => `
}
.p-multiselect-empty-message {
padding: ${dt('multiselect.option.padding')};
background: transparent;
padding: ${dt('multiselect.empty.message.padding')};
}
.p-multiselect-label .p-chip {

View File

@ -183,8 +183,7 @@ input.p-select-label {
}
.p-select-empty-message {
padding: ${dt('select.option.padding')};
background: transparent;
padding: ${dt('select.empty.message.padding')};
}
.p-fluid .p-select {

View File

@ -65,5 +65,8 @@ export default {
},
chip: {
borderRadius: '{border.radius.sm}'
},
emptyMessage: {
padding: '{list.option.padding}'
}
};

View File

@ -41,5 +41,8 @@ export default {
color: '{list.option.group.color}',
fontWeight: '{list.option.group.font.weight}',
padding: '{list.option.group.padding}'
},
emptyMessage: {
padding: '{list.option.padding}'
}
};

View File

@ -61,5 +61,8 @@ export default {
},
chip: {
borderRadius: '{border.radius.sm}'
},
emptyMessage: {
padding: '{list.option.padding}'
}
};

View File

@ -63,5 +63,8 @@ export default {
},
checkmark: {
color: '{list.option.color}'
},
emptyMessage: {
padding: '{list.option.padding}'
}
};

View File

@ -28,7 +28,7 @@ export default {
borderColor: '{overlay.select.border.color}',
borderRadius: '{overlay.select.border.radius}',
color: '{overlay.select.color}',
shadow: '{overlay.select.shadow}',
shadow: '{overlay.select.shadow}'
},
list: {
padding: '{list.padding}',
@ -65,5 +65,8 @@ export default {
},
chip: {
borderRadius: '{border.radius.xs}'
},
emptyMessage: {
padding: '{list.option.padding}'
}
};

View File

@ -41,5 +41,8 @@ export default {
color: '{list.option.group.color}',
fontWeight: '{list.option.group.font.weight}',
padding: '{list.option.group.padding}'
},
emptyMessage: {
padding: '{list.option.padding}'
}
};

View File

@ -63,5 +63,8 @@ export default {
},
chip: {
borderRadius: '{border.radius.xs}'
},
emptyMessage: {
padding: '{list.option.padding}'
}
};

View File

@ -60,5 +60,8 @@ export default {
},
checkmark: {
color: '{list.option.color}'
},
emptyMessage: {
padding: '{list.option.padding}'
}
};