Skip to content
Closed
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
10 changes: 10 additions & 0 deletions addons/website_payment/static/src/snippets/s_donation/000.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,14 @@
}
}
}

// TODO: Remove in Master. It is necessary to hide the prefilled button when
// previewing the donation button while dragging it onto the page from the
// snippet menu. In the case where "display options" is not True, they are
// removed in "start()" anyway.
&:not([data-display-options="true"]) {
.s_donation_prefilled_buttons {
display: none;
}
}
}