Skip to content
Snippets Groups Projects
Commit c58d6436 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

better css

parent efdba239
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,7 @@
function saveHeaderPic(){
var imageLink = $('input[id^="headerPicInput"]').val();
$("#editor-headerPic").css("background-image", "url("+imageLink+")");
$("#editor-headerPic").css("background", "linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('"+imageLink+"')");
$("#editor-headerPic").html('<i class="fas fa-edit"></i> Modifier');
$("#modal").modal("hide");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment