Skip to content

Commit

Permalink
Fix ipywidgets dark mode on Colab
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Sep 19, 2023
1 parent 2e99f17 commit f6fa9e3
Showing 1 changed file with 4 additions and 0 deletions.
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

0 comments on commit f6fa9e3

Please sign in to comment.