beautified the widget
the widgets now don't shrink past the size of the header. The canvas in the widget is scrollable and the scroller is pretty. The resizing arrow button at the bottom of the widget stays at the bottom (this is because only the canvas can scroll now).
This commit is contained in:
@@ -60,6 +60,7 @@ export const Users = createIcon({
|
||||
export default function Sidebar() {
|
||||
const [isOpen, setIsOpen] = useState(true);
|
||||
|
||||
// this list of btns will come from the db (not every usr will have access to admin)
|
||||
const buttons = [
|
||||
{icon: PushPin, name: "Dashboard"},
|
||||
{icon: Globe, name: "Global Map"},
|
||||
|
||||
Reference in New Issue
Block a user