to match the behaviour of the extjs consent text banner
Signed-off-by: Shannon Sterz <[email protected]>
---
src/pages/page_login.rs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/pages/page_login.rs b/src/pages/page_login.rs
index 8b59421..c23b2f9 100644
--- a/src/pages/page_login.rs
+++ b/src/pages/page_login.rs
@@ -5,11 +5,11 @@ use yew::prelude::*;
use yew::virtual_dom::{VComp, VNode};
use pwt::prelude::*;
-use pwt::widget::{Button, Column, Container, Row};
+use pwt::widget::{Button, Column, Row};
use crate::widgets::TopNavBar;
-use proxmox_yew_comp::LoginPanel;
+use proxmox_yew_comp::{LoginPanel, Markdown};
use proxmox_login::Authentication;
@@ -74,7 +74,7 @@ impl Component for PvePageLogin {
Column::new()
.padding(2)
.gap(2)
-
.with_child(Container::from_tag("p").with_child(consent_text))
+ .with_child(Markdown::new().text(consent_text))
.with_child(
Row::new().with_flex_spacer().with_child(
Button::new(tr!("OK"))
--
2.47.3
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel