From ca8ca2177fd5b8e6523bd1599784b129c2d75937 Mon Sep 17 00:00:00 2001 From: Mark Otto <otto@github.com> Date: Thu, 27 Jun 2013 19:36:56 -0700 Subject: [PATCH] fixes #4852: popover carets fully functional in ie8 holy carp wtfbqq huge shoutout to @PumaOmaR --- docs/assets/css/bootstrap.css | 4 ++++ less/popovers.less | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index b8c121245f..c362c1f094 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -3812,6 +3812,7 @@ button.close { margin-left: -10px; border-top-color: #ffffff; border-bottom-width: 0; + content: " "; } .popover.right .arrow { @@ -3828,6 +3829,7 @@ button.close { left: 1px; border-right-color: #ffffff; border-left-width: 0; + content: " "; } .popover.bottom .arrow { @@ -3844,6 +3846,7 @@ button.close { margin-left: -10px; border-bottom-color: #ffffff; border-top-width: 0; + content: " "; } .popover.left .arrow { @@ -3860,6 +3863,7 @@ button.close { bottom: -10px; border-left-color: #ffffff; border-right-width: 0; + content: " "; } .alert { diff --git a/less/popovers.less b/less/popovers.less index bcd30e9198..2c79da9a03 100644 --- a/less/popovers.less +++ b/less/popovers.less @@ -76,6 +76,7 @@ border-top-color: @popover-arrow-outer-color; bottom: -@popover-arrow-outer-width; &:after { + content: " "; bottom: 1px; margin-left: -@popover-arrow-width; border-bottom-width: 0; @@ -90,6 +91,7 @@ border-right-color: #999; // IE8 fallback border-right-color: @popover-arrow-outer-color; &:after { + content: " "; left: 1px; bottom: -@popover-arrow-width; border-left-width: 0; @@ -104,6 +106,7 @@ border-bottom-color: @popover-arrow-outer-color; top: -@popover-arrow-outer-width; &:after { + content: " "; top: 1px; margin-left: -@popover-arrow-width; border-top-width: 0; @@ -119,6 +122,7 @@ border-left-color: #999; // IE8 fallback border-left-color: @popover-arrow-outer-color; &:after { + content: " "; right: 1px; border-right-width: 0; border-left-color: @popover-arrow-color; -- GitLab