Improve styling
This commit is contained in:
@@ -13,7 +13,7 @@ html {
|
|||||||
|
|
||||||
#moco-bx-root {
|
#moco-bx-root {
|
||||||
min-width: 516px;
|
min-width: 516px;
|
||||||
min-height: 300px;
|
min-height: 420px;
|
||||||
transition: height 2s ease-out;
|
transition: height 2s ease-out;
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
@@ -102,8 +102,13 @@ html {
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin: 0.75rem;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
margin-top: 0.5rem;
|
margin-top: 0.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.timer {
|
.timer {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import stopWatch from "images/icons/stopwatch-light.svg"
|
|||||||
const StopWatch = () => (
|
const StopWatch = () => (
|
||||||
<i
|
<i
|
||||||
dangerouslySetInnerHTML={{ __html: stopWatch }}
|
dangerouslySetInnerHTML={{ __html: stopWatch }}
|
||||||
style={{ width: "24px", color: "white", display: "inline-block" }}
|
style={{ width: "22px", color: "white", display: "inline-block" }}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -53,7 +53,6 @@ class Form extends Component {
|
|||||||
buttonStyle() {
|
buttonStyle() {
|
||||||
const styleMap = {
|
const styleMap = {
|
||||||
true: {
|
true: {
|
||||||
backgroundColor: "#a3a3a3",
|
|
||||||
border: "none",
|
border: "none",
|
||||||
borderRadius: "50%",
|
borderRadius: "50%",
|
||||||
width: "60px",
|
width: "60px",
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ const Popup = forwardRef((props, ref) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref={ref} className="moco-bx-popup" onClick={handleRequestClose}>
|
<div ref={ref} className="moco-bx-popup" onClick={handleRequestClose}>
|
||||||
<div className="moco-bx-popup-content" style={{ width: "516px", minHeight: "300px" }}>
|
<div className="moco-bx-popup-content" style={{ width: "516px", minHeight: "420px" }}>
|
||||||
<iframe
|
<iframe
|
||||||
ref={iFrameRef}
|
ref={iFrameRef}
|
||||||
src={chrome.extension.getURL(`popup.html?${queryString.stringify(serializedProps)}`)}
|
src={chrome.extension.getURL(`popup.html?${queryString.stringify(serializedProps)}`)}
|
||||||
|
|||||||
Reference in New Issue
Block a user