Skip to content

Commit

Permalink
Bug 845121 - Calendar - Delete account screen layout update
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Ivanov committed Apr 3, 2013
1 parent 7bbc457 commit a5f30a3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
10 changes: 5 additions & 5 deletions apps/calendar/index.html
Expand Up @@ -479,6 +479,11 @@ <h1 data-l10n-id="account-header">Account</h1>
placeholder="URL" />
</li>
<li>
<a data-l10n-id="remove-account-data" role="button" href="#remove-account-dialog" class="danger delete-record">
Remove Local Data
</a>
</li>
</ol>
</fieldset>
</form>
Expand All @@ -487,11 +492,6 @@ <h1 data-l10n-id="account-header">Account</h1>
<p class="errors"></p>
</section>
<a data-l10n-id="remove-account-data" role="button" href="#remove-account-dialog" class="danger delete-record">
Remove Local Data
</a>
<form role="dialog" data-type="confirm" id="remove-account-dialog">
<section>
<h1 data-l10n-id="remove-account-dialog">Remove Account</h1>
Expand Down
5 changes: 3 additions & 2 deletions apps/calendar/style/forms.css
Expand Up @@ -29,6 +29,7 @@ form ol {
/* for calendar */

form li {
margin: 1rem 2rem;
padding: 0.25rem;
margin: 1rem 2rem;
padding: 0.25rem;
}

4 changes: 4 additions & 0 deletions apps/calendar/style/modify_event_view.css
Expand Up @@ -91,6 +91,10 @@
margin: 0.25rem 0;
}

#modify-event-view .delete-record {
text-align: center;
}

#modify-event-view.readonly menu,
#modify-event-view.create .delete-record,
#modify-event-view.readonly .delete-record {
Expand Down

0 comments on commit a5f30a3

Please sign in to comment.