Skip to content

Commit

Permalink
Merge pull request #6096 from freedomofpress/6080-cfm-rendering-discr…
Browse files Browse the repository at this point in the history
…epancies

resolves visual discrepancies on Source Interface
  • Loading branch information
zenmonkeykstop authored Sep 22, 2021
2 parents a6b478f + 6d4602d commit 9688dbc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 6 additions & 2 deletions securedrop/sass/modules/_panel.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
=panel
body:not(#source-index)
main
main, div.panel
max-width: 800px
width: 100%
margin: 0 auto
Expand All @@ -10,4 +10,8 @@

section, article, .section-spacing
display: flow-root
margin-top: 10px + 2*8px // cf. hr.no-line
margin-top: 10px + 2*8px // cf. hr.no-line

li
section, article, .section-spacing
margin-top: 0 !important
4 changes: 3 additions & 1 deletion securedrop/sass/source.sass
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ p#codename

.danger
display: inline-block
width: 30%
min-width: 30%
max-width: 50%

.cancel
display: inline-block
Expand Down Expand Up @@ -263,6 +264,7 @@ p#max-file-size
border: 3px solid #666
padding: 10px 25px
display: none
z-index: 99999

.close
cursor: pointer
Expand Down
2 changes: 1 addition & 1 deletion securedrop/source_templates/lookup.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h2 id="replies-heading" class="headline">{{ gettext('Read Replies') }}</h2>

<div id="replies">
{% if replies %}
<p>
<p class="aside">
{{ gettext("You have received a reply. To protect your identity in the unlikely event someone learns your codename, please delete all replies when you're done with them. This also lets us know that you are aware of our reply. You can respond by submitting new files and messages above.") }}
</p>
{% for reply in replies %}
Expand Down

0 comments on commit 9688dbc

Please sign in to comment.