Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Fix the modal and dismiss button positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
itumoraes committed Aug 2, 2016
1 parent 797bf89 commit c07a3dd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions source/assets/stylesheets/locastyle/modules/_modal.sass
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ $paddingDefault: 20px

.ls-modal-box
display: inline-block
width: 95%
margin: 10% 20px 0
width: 90%
margin: 5% auto 0
text-align: left
background-color: #fff
border-radius: $default-radius
Expand All @@ -44,10 +44,11 @@ $paddingDefault: 20px
.ls-modal-header
padding: $paddingDefault
border-bottom: 1px solid $gray1
position: relative

[data-dismiss]
position: absolute
right: 10px
right: 20px
top: 14px
border: none
background: none
Expand All @@ -65,6 +66,7 @@ $paddingDefault: 20px
padding: 0
margin: 0
font-size: remtopx(1)
width: calc(100% - 20px)

.ls-modal-body
padding: $paddingDefault
Expand All @@ -77,7 +79,6 @@ $paddingDefault: 20px
border-top: 1px solid $gray1

.ls-modal-feedbackr

.ls-modal-box
width: 627px
height: 600px
Expand All @@ -97,6 +98,7 @@ $paddingDefault: 20px
@media screen and (min-width: $screen-sm)
.ls-modal-box
width: $defaultWidth
margin: 10% 20px 0

.ls-modal-large
width: $largeWidth
Expand Down

0 comments on commit c07a3dd

Please sign in to comment.