aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/manage/_client.scss2
-rw-r--r--src/app/manage/client/mod.rs32
2 files changed, 5 insertions, 29 deletions
diff --git a/css/manage/_client.scss b/css/manage/_client.scss
index 4466a6a..c16a5fe 100644
--- a/css/manage/_client.scss
+++ b/css/manage/_client.scss
@@ -34,7 +34,7 @@
border: 1px solid var(--body-bg-alt);
min-height: 40rem;
max-height: 75vh;
- overflow: scroll;
+ overflow-y: scroll;
width: 100%;
position: absolute;
top: $header-height;
diff --git a/src/app/manage/client/mod.rs b/src/app/manage/client/mod.rs
index 12b18eb..e81f9a5 100644
--- a/src/app/manage/client/mod.rs
+++ b/src/app/manage/client/mod.rs
@@ -67,34 +67,10 @@ pub fn manage_client_page() -> Html {
c2s1.postal_code = "121212".to_string();
c2s1.country = "India".to_string();
c2.add_shipping_address(c2s1);
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
- clients.push(c2.clone());
+
+ for _ in 0..1000 {
+ clients.push(c2.clone());
+ }
html! {
<div id={"manage-client-page"}>