restricted max length of db name in navbar - fixed caret