aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-30 14:53:36 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-08-30 14:53:36 +0530
commita1b3b7fb92fae98e9f6df7b9d4e3e3b4ff6b1a44 (patch)
treea4461fd3f0f3edf7964a6beaa3fc5ef95b18d97b /src
parent6556828afe63476fc03546ae51e3ba5104162ee8 (diff)
removed horizontal scrollbar in clients list on chromium
Diffstat (limited to 'src')
-rw-r--r--src/app/manage/client/mod.rs32
1 files changed, 4 insertions, 28 deletions
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"}>