IMPR: Minor updates

This commit is contained in:
Tony Air 2020-08-08 21:23:42 +07:00
parent a398642f92
commit d06da35d7b
3 changed files with 11 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate",
"version": "2.4.1",
"version": "2.4.2",
"author": "Tony Air <tony@twma.pro>",
"license": "MIT",
"description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.",

View File

@ -12,6 +12,10 @@ const ShrinkUI = (($) => {
console.log(`${NAME}: init`);
$(W).on(`${Events.LOADED} ${Events.SCROLL} ${Events.RESIZE}`, () => {
if ($('#Navigation > .navbar-collapse').hasClass('show')) {
return;
}
let h1 = $('#SiteWideMessage').height();
if (!h1) {
h1 = 0;

View File

@ -121,18 +121,19 @@ textarea,
.btn,
.btn *,
.dropdown,
[data-toggle],
[data-toggle] *,
.container,
.container-fluid,
.row,
.alert,
.alert *,
.message,
[class='col-*'] {
[data-toggle],
[data-toggle] * {
transition: all 0.4s ease;
}
.navbar-toggler {
transition: transform ease 0.4s;
}
.btn-toolbar {
margin-top: $field-gutter-height;
}