From 775d9b022340515a98a758fc33b688882b4c5be5 Mon Sep 17 00:00:00 2001 From: Semenov Date: Tue, 7 Jun 2022 14:00:47 +0300 Subject: [PATCH] big update --- src/assets/src/components/float-label/float-label.css | 5 +++++ src/assets/src/js/unify-custom.js | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/assets/src/components/float-label/float-label.css b/src/assets/src/components/float-label/float-label.css index c534c2b..b9e8e1e 100644 --- a/src/assets/src/components/float-label/float-label.css +++ b/src/assets/src/components/float-label/float-label.css @@ -33,6 +33,7 @@ color: #8a8a8a !important; font-weight: normal; z-index: 1; + display: inline-table; } .js-float-label-wrapper.populated label .to-hide { @@ -123,4 +124,8 @@ .js-float-label-wrapper .form-control.is-invalid, .was-validated .form-control:invalid { background-image: none; +} + +.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus { + box-shadow: none; } \ No newline at end of file diff --git a/src/assets/src/js/unify-custom.js b/src/assets/src/js/unify-custom.js index 37fdb85..f2b625f 100644 --- a/src/assets/src/js/unify-custom.js +++ b/src/assets/src/js/unify-custom.js @@ -162,7 +162,6 @@ _.delay(function () { if ($("body").hasClass("sx-header-sticky-margin")) { if ($("#js-header").hasClass("u-header--sticky-top")) { - console.log($("#js-header").height()); $("body").css("margin-top", $("#js-header").height()); } } @@ -174,7 +173,6 @@ $("[data-toggle=tooltip]").tooltip(); $(document).on('pjax:complete', function(event) { - console.log($(event.target)); $("[data-toggle=tooltip]", $(event.target)).tooltip(); })