Skip to content

Commit

Permalink
modal card refined
Browse files Browse the repository at this point in the history
  • Loading branch information
dezoliveira committed Aug 19, 2023
1 parent 5fd3451 commit 6624771
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ const toggleModal = (id) => {
let lang = cloneNode.children[0].children[3]
lang.remove()

let card = cloneNode
card.style.padding = 0
card.style.boxShadow = "none"

let cardTitle = cloneNode.children[0]
let cardBody = cloneNode.children[1]
let cardFooter = cloneNode.children[2]
Expand Down Expand Up @@ -210,8 +214,6 @@ const toggleModal = (id) => {

console.log(languages)



cardFooter.innerHTML += `
<div class="btn-group">
<a href="${url}" target="_blank">
Expand Down

0 comments on commit 6624771

Please sign in to comment.