On the website of i3 gaps you will find a code to change the gaps size with keyboard shortcuts. I just copy/pasted it inside and made sure everything works.

It just makes a keyboard shortcut available to change the size of inner and outer gap.

$mod (windows) + Shift + G will do the trick