Skip to content

Commit

Permalink
Modal shadow instead of border
Browse files Browse the repository at this point in the history
  • Loading branch information
rayoverweij committed Aug 4, 2020
1 parent 389c2d7 commit 0bbc3c5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/home/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ class Settings extends React.PureComponent<SettingsProps, SettingsState> {
<li>Accessibility: removed transitions and animations when prefers-reduced-motion is set</li>
<li>Accessibility: each interactive element is now properly focusable</li>
<li>Accessibility: each form input should now be properly labeled for screen readers</li>
<li>Minor visual tweaks and bug fixes</li>
</ul>
For an overview of changes made in previous versions, see <a href="https://github.com/rayoverweij/tacotab/releases" target="_blank" rel="noreferrer noopener">GitHub</a>.
</p>
Expand Down
7 changes: 7 additions & 0 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -444,4 +444,11 @@ form.was-validated {
.popover-header {
border-bottom: none;
}
}


// Modal styling
.modal-content {
box-shadow: $heavy;
border: none;
}
1 change: 1 addition & 0 deletions src/setup/SetupScreen.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

.setup-modal-dialog > .modal-content {
border: none;
box-shadow: none;

& > .modal-header {
border: none;
Expand Down

0 comments on commit 0bbc3c5

Please sign in to comment.