Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ipywidgets dark mode for toolbar buttons on Colab #1716

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions geemap/toolbar.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def returned_callback(change):
value=False,
tooltip="Toolbar",
icon="wrench",
button_style="primary",
layout=widgets.Layout(
width="28px", height="28px", padding="0px 0px 0px 4px"
),
Expand All @@ -136,6 +137,7 @@ def returned_callback(change):
value=False,
tooltip="Layers",
icon="server",
button_style="primary",
layout=widgets.Layout(height="28px", width="72px"),
)

Expand Down Expand Up @@ -822,6 +824,7 @@ def search_data_gui(m, position="topleft"):
value=False,
tooltip="Search location/data",
icon="globe",
button_style="primary",
layout=widgets.Layout(width="28px", height="28px", padding="0px 0px 0px 4px"),
)

Expand All @@ -832,6 +835,7 @@ def search_data_gui(m, position="topleft"):
"Search by lat-lon coordinates",
"Search Earth Engine data catalog",
],
button_style="primary",
)
search_type.style.button_width = "110px"

Expand Down