From 595ba52cf395411405bb781b87d1650f10c0f270 Mon Sep 17 00:00:00 2001 From: Ridhima10 Date: Sat, 10 Aug 2024 01:50:01 +0530 Subject: [PATCH] fixed position of share button in all pages --- public/css/styles.css | 2 +- server/views/products.ejs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/public/css/styles.css b/public/css/styles.css index 67efa39..0d931cd 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1527,7 +1527,7 @@ h3 { } .share-button { - position: fixed; + margin-bottom: 1rem; border: none; cursor: pointer; z-index: 2; diff --git a/server/views/products.ejs b/server/views/products.ejs index 5e54911..e273040 100644 --- a/server/views/products.ejs +++ b/server/views/products.ejs @@ -51,7 +51,6 @@ } /* social */ .share-button { - position: absolute; left: 2rem; border: none; cursor: pointer;