fix(browser-extension): how options and popup look on mobile
This commit is contained in:
parent
2b8d596006
commit
74b479380b
@ -2,6 +2,7 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Cookie Dialog Monster > Exclusion List</title>
|
||||
<link rel="stylesheet" href="/styles/reset.css" />
|
||||
<link rel="stylesheet" href="/styles/options.css" />
|
||||
|
@ -2,6 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="/styles/reset.css" />
|
||||
<link rel="stylesheet" href="/styles/popup.css" />
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter" />
|
||||
|
@ -40,6 +40,12 @@ button[data-variant='large'] {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
button[data-variant='large'] {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
}
|
||||
|
||||
button:focus,
|
||||
button:hover {
|
||||
background-color: var(--color-secondary);
|
||||
@ -104,11 +110,18 @@ main {
|
||||
|
||||
.button-group {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 4px;
|
||||
justify-content: flex-end;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.button-group {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0px, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
#exclusion-list {
|
||||
font-size: 14px;
|
||||
list-style: none;
|
||||
|
@ -15,6 +15,12 @@ body {
|
||||
width: 320px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
body {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
body * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@ -74,6 +80,14 @@ header {
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
main {
|
||||
margin: 0 auto;
|
||||
max-width: 320px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
main > .banner {
|
||||
background-color: #f39c12;
|
||||
color: #c0392b;
|
||||
|
Loading…
Reference in New Issue
Block a user