diff --git a/kanjiLib.tex b/kanjiLib.tex index 6f393f0..fcad874 100644 --- a/kanjiLib.tex +++ b/kanjiLib.tex @@ -85,16 +85,15 @@ % Meaning % % ---------------------------------------------------------------------------- % -\newtcolorbox{meaningBox}{ %TODO: Make the box autoshrink horizontally while still making newlines when it's full. +\newtcolorbox{meaningBox}{ + tcbox width=auto limited, + capture=hbox, enhanced, colback=black!20, left=15pt, right=15pt, top=15pt, bottom=15pt, - width=\textwidth, - hbox, - capture=minipage } \newcommand{\kanjiMeaning}[1]{ diff --git a/todo.notes b/todo.notes index a92deee..230401d 100644 --- a/todo.notes +++ b/todo.notes @@ -7,6 +7,6 @@ TODO: [ ] Rename functions and files [ ] Document functions and files [ ] *Add .- logic in jishoScrape/src/textFiltration.js* - [ ] *Fix hbox* + [√] *Fix hbox* [ ] Fix makefile [ ] Clean code \ No newline at end of file