Skip to content

Commit

Permalink
Ne souligne pas les images clicable des show des questions
Browse files Browse the repository at this point in the history
  • Loading branch information
etienneCharignon committed Feb 5, 2025
1 parent 078ecee commit f3b0794
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/assets/stylesheets/admin/_adaptation_dsfr.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ ol > li::marker {
a, a:link, a:visited {
text-decoration: none;
}

a.pas-souligne {
background-image: none;
}

.tarteaucitronSelfLink {
background-image: none;
&::after {
Expand Down
2 changes: 1 addition & 1 deletion app/views/admin/questions/_show_illustration.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if illustration.attached? %>
<%= link_to cdn_for(illustration), target: '_blank', rel: 'noopener' do %>
<%= link_to cdn_for(illustration), target: '_blank', rel: 'noopener', class: 'pas-souligne' do %>
<%= image_tag cdn_for(illustration), class: 'image-preview', alt: illustration.filename %>
<% end %>
<% else %>
Expand Down

0 comments on commit f3b0794

Please sign in to comment.