[Solved] Curve class entries spilling out of page

ralph Asks: Curve class entries spilling out of page
I intend to use the curve class for my CV but the entries are spilling out of page. Please help.

This is the code for main.tex

Code:
NeedsTeXFormat{LaTeX2e} 


documentclass[a4paper,skipsamekey,11pt]{curve}

usepackage{settings}
usepackage{geometry}
geometry{left=1.5cm,right=1.5cm,top=1.5cm,bottom=1.5cm}
usepackage{lipsum}


setlength{footskip}{0.7cm}


definecolor{SwishLineColour}{HTML}{106B21}
definecolor{MarkerColour}{HTML}{8A1538}


ifxetexorluatex % If you're using XeLaTeX or LuaLaTeX
usepackage{fontspec}

setmainfont[Ligatures=TeX,SmallCapsFeatures={Letters=SmallCaps,LetterSpace=5}]{Charis SIL}
setsansfont[Ligatures=TeX]{Fira Sans}
setmonofont{Inconsolata}
else % If you're using pdfLaTeX or latex
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{breakcites}
usepackage{fbb}
usepackage[type1]{cabin}
usepackage[varqu,varl]{zi4}

fi
usepackage{csquotes}

usepackage{fontawesome}

usepackage{scalerel}
usepackage{tikz}
usetikzlibrary{svg.path}

usepackage[tracking=smallcaps]{microtype}


definecolor{orcidlogocol}{HTML}{A6CE39}
tikzset{
    orcidlogo/.pic={
        fill[orcidlogocol] svg{M256,128c0,70.7-57.3,128-128,128C57.3,256,0,198.7,0,128C0,57.3,57.3,0,128,0C198.7,0,256,57.3,256,128z};
        fill[white] svg{M86.3,186.2H70.9V79.1h15.4v48.4V186.2z}
        svg{M108.9,79.1h41.6c39.6,0,57,28.3,57,53.6c0,27.5-21.5,53.6-56.8,53.6h-41.8V79.1z M124.3,172.4h24.5c34.9,0,42.9-26.5,42.9-39.7c0-21.5-13.7-39.7-43.7-39.7h-23.7V172.4z}
        svg{M88.7,56.8c0,5.5-4.5,10.1-10.1,10.1c-5.6,0-10.1-4.6-10.1-10.1c0-5.6,4.5-10.1,10.1-10.1C84.2,46.7,88.7,51.3,88.7,56.8z};
    }
}

newcommandorcidicon[1]{href{https://orcid.org/#1}{mbox{scalerel*{
                begin{tikzpicture}[yscale=-1,transform shape]
                pic{orcidlogo};
                end{tikzpicture}
}{|}}}}
        
        
        
        

usepackage{natbib} %to compressed succcessive citations
usepackage{bibentry} % use to insert full reference entries in the text


newcommand*{doi}[1]{DOI href{https://doi.org/#1}{texttt{#1}}}
makeatletter
% expandable version of ...
defbibinfo#1{%
    @ifundefined{bibinfo@X@#1}%
    {@firstofone}
    {csname bibinfo@X@#1endcsname}}
makeatother

usepackage{url}
defUrlBreaks{do/do-do.}

usepackage{lastpage}
usepackage[none]{hyphenat}

usepackage{hyperref} %hyperlink
hypersetup{colorlinks=true,linkcolor=black,citecolor=blue,urlcolor=blue} %change the color to black for print version

makeatletter % <=======================================================
def@continuedname{}
makeatother % <========================================================


includecomment{fullonly}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


leftheader{%
    {LARGEbfseriessffamily John Doe, PhD}
    
    vspace{0.5cm}
    
    makefield{faUniversity}{texttt{Institute of XXXXXXXX}}
        
    %makefield{}{texttt{College of Engineering and Agro-Industrial Technology}}
        
    makefield{}{texttt{University of XXXXX}}
    
    makefield{}{texttt{XXXXXXX}}
    
    vspace{0.3cm}
    
    makefield{faEnvelopeO}{texttt{jdoe@email.com}}
    
    makefield{faPhone}{texttt{+000000000000}}
    
    vspace{0.3cm}
    
    makefield{orcidicon{0000-0000-0000-0000}}{texttt{ORCiD:0000-0000-0000-0000}}
    
    vspace{0.5cm}
}

rightheader{~}
begin{fullonly}
    photo[r]{photo.jpg}
    photoscale{0.2}
end{fullonly}

%geometry{includefoot}
makeatletter
renewcommand{@evenfoot}{footnotesize textit{JDoe - CV as of {today} hfill small thepage/pageref{LastPage}}}
renewcommand{@oddfoot}{footnotesize textit{JDoe - CV as of {today} hfill small thepage/pageref{LastPage}}}
makeatother



title{Curriculum Vitae}

begin{document}

    bibliographystyle{abbrvnat}
    
    nobibliography{references}
    
    makeheaders[c]
    
    makerubric{grants}


end{document}

This is the code for grants.tex

Code:
begin{rubric}{Grants, Fellowships and Scholarships}

entry*[2015-2018] The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.
entry*[2012-2013] The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.
entry*[2003-2008] The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.The quick brown fox jumps over the lazy dog.
end{rubric}

Please see image
Compiled pdf

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.