From a184c086542c877617093000ea874e7b60c0b676 Mon Sep 17 00:00:00 2001 From: Joe Workman Date: Mon, 1 Nov 2021 15:03:23 -0700 Subject: [PATCH] fix: min-height for tab match height closes #11975 --- js/foundation.tabs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/foundation.tabs.js b/js/foundation.tabs.js index 6e5248309..55a0b7f5e 100644 --- a/js/foundation.tabs.js +++ b/js/foundation.tabs.js @@ -389,7 +389,7 @@ class Tabs extends Plugin { this.$tabContent .find(`.${this.options.panelClass}`) - .css('height', '') + .css('min-height', '') .each(function() { var panel = $(this), @@ -410,7 +410,7 @@ class Tabs extends Plugin { max = temp > max ? temp : max; }) - .css('height', `${max}px`); + .css('min-height', `${max}px`); } /** -- 2.47.2