Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Added close funcationality to "Legal" modal #1461

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions app/ui/legal.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ module.exports = function(state, emit) {
<main class="main">
${state.modal && modal(state, emit)}
<div
class="flex flex-col items-center bg-white m-4 px-6 py-8 border border-grey-30 md:border-none md:px-12 md:py-16 shadow w-full md:h-full dark:bg-grey-90"
class="flex flex-col items-center bg-white m-4 px-6 py-8 border border-grey-30 md:border-none md:px-12 md:py-16 shadow w-full md:h-full dark:bg-grey-90" style="padding-top: 35px;"
>
<div style="margin-left: auto; background-color: #3333334f; padding: 10px 20px; border-radius: 6px; margin-bottom: 15px;"><a href="/">Close ✕</a></div>
<h1 class="text-center text-3xl font-bold">
${state.translate('legalTitle')}
</h1>
<p class="mt-2">${state.translate('legalDateStamp')}</p>
<p class="mt-2" style="margin-bottom: 30px;">${state.translate('legalDateStamp')}</p>
<div class="overflow-y-scroll py-8 px-12">
<p class="leading-normal">
<span>When Mozilla receives information from you, our</span>
Expand Down