🚧 [bootsier] Refina el funcionamiento de Navbar
This commit is contained in:
parent
7ef45f1157
commit
e784dfccde
6 changed files with 204 additions and 173 deletions
|
|
@ -1,8 +1,7 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
use crate::bs::{
|
||||
BreakPoint, OffcanvasBackdrop, OffcanvasBodyScroll, OffcanvasPlacement, OffcanvasVisibility,
|
||||
};
|
||||
use crate::bs::BreakPoint;
|
||||
use crate::bs::{OffcanvasBackdrop, OffcanvasBodyScroll, OffcanvasPlacement, OffcanvasVisibility};
|
||||
use crate::LOCALES_BOOTSIER;
|
||||
|
||||
#[rustfmt::skip]
|
||||
|
|
@ -32,7 +31,7 @@ impl ComponentTrait for Offcanvas {
|
|||
self.alter_classes(
|
||||
ClassesOp::Prepend,
|
||||
[
|
||||
self.breakpoint().breakpoint_class("offcanvas"),
|
||||
self.breakpoint().to_class("offcanvas"),
|
||||
self.placement().to_string(),
|
||||
self.visibility().to_string(),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue