Please confirm that you use LaTeX to compile your document. If that's the case, please also provide some information about how the Table of Contents and the List of Figures are organized. E.g., do you use the tocloft package? If so, please edit your posting to provide the code you employ.
– MicoMar 19 '19 at 17:59
Yes i am using overleaf. I will include code. Using the tocloft package does not solve the issue
– Allen RahroohMar 19 '19 at 18:04
@Mico post was tagged as duplicate and I was able to fix it with the tocloft package "
\usepackage[tocindentauto]{tocstyle}
\usetocstyle{KOMAlike} %the previous line resets it
– Allen RahroohMar 19 '19 at 18:08
tocloftpackage? If so, please edit your posting to provide the code you employ. – Mico Mar 19 '19 at 17:59