Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion frontend/src/main/resources/styling/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/main/scala/crestedbutte/laminar/Components.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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)
},
Expand Down