vitalets / angular-xeditable

Edit in place for AngularJS
http://vitalets.github.io/angular-xeditable
MIT License
1.91k stars 402 forks source link

Not Set / Unknown / Unavailable / Not Available #720

Closed s2jrchoi closed 6 years ago

s2jrchoi commented 6 years ago

Hello,

This isn't really an issue but wanted some guidance on how to change the font style for fields without any data. I want to put a placeholder such as Not Set, Unknown, Unavailable, or Not Available but I want that to stick out and not blend in with all the other fields. Can anyone please help me with this?

Thank you!

ckosloski commented 6 years ago

You need to override the editable-empty css class with what you want.

s2jrchoi commented 6 years ago

Thank you!!

/* editable-empty */ .editable-empty, .editable-empty:hover, .editable-empty:focus, a.editable-empty, a.editable-empty:hover, a.editable-empty:focus { font-style: italic !important; color: #888888 !important; text-decoration: none !important; font-size:small !important; }