Fix issue on cookie icon integration and responsive integration

This commit is contained in:
Clement G 2020-06-05 16:42:56 +02:00
parent d44bee32eb
commit 7f0e04ca62
2 changed files with 3 additions and 1 deletions

View File

@ -494,7 +494,7 @@ div#tarteaucitronServices {
text-align: center;
padding: 10px;
margin: auto;
width: 100%;
width: calc(100% - 20px); /* 100 % - padding-right - padding-left */
}
#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,

View File

@ -983,6 +983,7 @@ var tarteaucitron = {
var c = 'tarteaucitron';
tarteaucitron.userInterface.css(c + 'Percentage', 'display', 'block');
tarteaucitron.userInterface.css(c + 'AlertSmall', 'display', 'none');
tarteaucitron.userInterface.css(c + 'Icon', 'display', 'none');
tarteaucitron.userInterface.css(c + 'AlertBig', 'display', 'block');
tarteaucitron.userInterface.addClass(c + 'Root', 'tarteaucitronBeforeVisible');
@ -1003,6 +1004,7 @@ var tarteaucitron = {
var c = 'tarteaucitron';
tarteaucitron.userInterface.css(c + 'Percentage', 'display', 'none');
tarteaucitron.userInterface.css(c + 'AlertSmall', 'display', 'block');
tarteaucitron.userInterface.css(c + 'Icon', 'display', 'block');
tarteaucitron.userInterface.css(c + 'AlertBig', 'display', 'none');
tarteaucitron.userInterface.removeClass(c + 'Root', 'tarteaucitronBeforeVisible');
tarteaucitron.userInterface.jsSizing('box');