mirror of
https://github.com/a2nt/webpack-bootstrap-ui-kit.git
synced 2024-10-22 11:05:45 +02:00
[IMPR] Minor improvements
This commit is contained in:
parent
56e050b56b
commit
a56f642462
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate-react",
|
"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.",
|
"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>",
|
"author": "Tony Air <tony@twma.pro>",
|
||||||
"license": "BSD-2-Clause",
|
"license": "BSD-2-Clause",
|
||||||
|
@ -83,7 +83,7 @@ const DropdownHoverUI = ((window) => {
|
|||||||
|
|
||||||
if(parent){
|
if(parent){
|
||||||
// big screen click
|
// 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`)
|
console.log(`${NAME}: big screen | nav click the dropdown is shown already`)
|
||||||
window.location.href = href
|
window.location.href = href
|
||||||
}
|
}
|
||||||
|
@ -2,3 +2,16 @@
|
|||||||
> .element-container > .accordion {
|
> .element-container > .accordion {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.accordion {
|
||||||
|
&-body {
|
||||||
|
.element {
|
||||||
|
&:first-child {
|
||||||
|
padding-top: 0;
|
||||||
|
}
|
||||||
|
&:last-child {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user