Skip to content

Commit

Permalink
Updated Styling for Inline card fields (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
aashwin-rvvup authored Nov 20, 2023
1 parent 51d32fa commit daaef7e
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions view/frontend/web/css/source/_module.less
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,22 @@
}
}

.st-expiration-date-iframe, .st-security-code-iframe {
max-width: 100%;
#st-card-number iframe, #st-expiration-date iframe, #st-security-code iframe {
width: 100%;
}
#st-expiration-date, #st-security-code {
display: inline-block;
width: 45%;
#st-card-number {
width: 100%;
height:90px;
}
#st-expiration-date {
float: left;
width: 47.5%;
height:90px;
}
#st-card-number, #st-expiration-date, #st-security-code {
#st-security-code {
float: right;
width: 47.5%;
height:90px;
margin-left: 20px;
}
}

Expand Down

0 comments on commit daaef7e

Please sign in to comment.