Limit textarea field heading tag level
This commit is contained in:
parent
d272a8752b
commit
ae2282a76b
15 changed files with 75 additions and 46 deletions
|
@ -33,7 +33,7 @@ function convertRemToPixels(rem) {
|
|||
|
||||
// Calculate navigation grid inner width
|
||||
function calculateNavGridInnerWidth() {
|
||||
if (root) {
|
||||
if (root && navImage) {
|
||||
let navGridGapProperty = window.getComputedStyle(root).getPropertyValue('--home-nav-gap');
|
||||
let navGridGap = parseFloat(navGridGapProperty.slice(0, -3));
|
||||
return navImage.getBoundingClientRect().width + (convertRemToPixels(navGridGap) * 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue