diff --git a/frontend/src/main/resources/styling/style.css b/frontend/src/main/resources/styling/style.css index c85ae547..ff13afd6 100644 --- a/frontend/src/main/resources/styling/style.css +++ b/frontend/src/main/resources/styling/style.css @@ -130,7 +130,7 @@ body { justify-content: center; } -/* Trip/share button containers and buttons */ +/* Trip/distribute button containers and buttons */ .trip-button-container, .share-button-container { position: relative; diff --git a/frontend/src/main/scala/crestedbutte/laminar/Components.scala b/frontend/src/main/scala/crestedbutte/laminar/Components.scala index c674cdb4..b0d25f9a 100644 --- a/frontend/src/main/scala/crestedbutte/laminar/Components.scala +++ b/frontend/src/main/scala/crestedbutte/laminar/Components.scala @@ -511,7 +511,7 @@ object Components { styleProp("height") := "56px", styleProp("transition") := "width 300ms ease", - // Share button (visible when collapsed) + // Distribute button (visible when collapsed) button( cls := "button floating-center-button", styleProp("width") := s"${buttonWidth}px", @@ -522,7 +522,7 @@ object Components { expanded => if (expanded) "none" else "auto", ), styleProp("transition") := "opacity 200ms ease", - span("Share"), + span("Distribute"), onClick --> Observer { _ => isExpanded.set(true) },