Custom Controller with Document Icon Sizes
Hello,
I have a custom controller that has the ability to add 2 or more documents. The issue that I am experiencing is that there is an icon size difference when a user uploads 1 document or 2 or more documents. The document with 1 item has a smaller doc icon and does not display the file size and the document with 2 or more items has a larger one. How can I change the size to be consistently smaller or bigger?
Hello Marco,
The documents icons are shown using css styles and a background image url and position pointing to the right icon in the document icons image sprite. I guess the small document icon is a result of a smaller element which holds the according css class for the icon (sftxt, sfpdf). I suggest checking the item parents in case the size is passed using percentage or relatively to the parent element and adding a specific class to those items, so you can set them the size you want.
I hope this information will help you resolve the issue.
Regards,
Nikola Zagorchev
Telerik