[IMPR] Minor improvements

This commit is contained in:
Tony Air 2023-05-18 02:49:02 +02:00
parent 56e050b56b
commit a56f642462
3 changed files with 15 additions and 2 deletions

View File

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

View File

@ -83,7 +83,7 @@ const DropdownHoverUI = ((window) => {
if(parent){
// big screen click
if(window.innerWidth > 768 && parent.classList.contains('active-dropdown')){
if(href && window.innerWidth > 768 && parent.classList.contains('active-dropdown')){
console.log(`${NAME}: big screen | nav click the dropdown is shown already`)
window.location.href = href
}

View File

@ -2,3 +2,16 @@
> .element-container > .accordion {
}
}
.accordion {
&-body {
.element {
&:first-child {
padding-top: 0;
}
&:last-child {
padding-bottom: 0;
}
}
}
}