Rework styles to account for button_to mark-up
This commit is contained in:
@@ -90,9 +90,11 @@
|
||||
padding: 0;
|
||||
place-items: center;
|
||||
|
||||
a {
|
||||
margin: auto;
|
||||
text-decoration: none;
|
||||
.btn {
|
||||
--btn-color: var(--bubble-color);
|
||||
|
||||
appearance: none;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.windshield .bubble:hover & {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
<%= button_to project_bubble_boosts_path(bubble.project, bubble), data: { action: "toggle-class#toggle" } do %>
|
||||
<%= button_to project_bubble_boosts_path(bubble.project, bubble),
|
||||
class: "btn btn--plain",
|
||||
data: { action: "toggle-class#toggle" },
|
||||
form_class: "full-width" do %>
|
||||
+ <%= bubble.boosts.size if bubble.boosts.any? %>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user