Skip to content

Commit 8131f3a

Browse files
committed
Fix responsive
1 parent 62b71d6 commit 8131f3a

File tree

4 files changed

+27
-20
lines changed

4 files changed

+27
-20
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [React Pomodoro](http://afonsopacifer.github.io/react-pomodoro/)
22

3-
[![release](https://img.shields.io/badge/release-v0.4.0-green.svg)](https://github.com/afonsopacifer/react-pomodoro/archive/0.4.0.zip)
3+
[![release](https://img.shields.io/badge/release-v0.4.1-green.svg)](https://github.com/afonsopacifer/react-pomodoro/archive/0.4.1.zip)
44
[![Dependency Status](https://david-dm.org/afonsopacifer/react-pomodoro.svg)](https://david-dm.org/afonsopacifer/react-pomodoro)
55
[![devDependency Status](https://david-dm.org/afonsopacifer/react-pomodoro/dev-status.svg)](https://david-dm.org/afonsopacifer/react-pomodoro#info=devDependencies)
66
> Pomodoro timer for developers.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-pomodoro",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Pomodoro timer for developers.",
55
"license": "MIT",
66
"main": "webpack.config.js",

src/css/style.css

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,24 @@ body {
1212
background-color: #272727;
1313
}
1414

15-
.pomodoro {
16-
height: 100%;
17-
display: -webkit-box;
18-
display: -webkit-flex;
19-
display: -ms-flexbox;
20-
display: flex;
21-
-webkit-box-orient: vertical;
22-
-webkit-box-direction: normal;
23-
-webkit-flex-direction: column;
24-
-ms-flex-direction: column;
25-
flex-direction: column;
26-
-webkit-box-pack: center;
27-
-webkit-justify-content: center;
28-
-ms-flex-pack: center;
29-
justify-content: center;
15+
@media (min-width: 500px) {
16+
.pomodoro {
17+
height: 100%;
18+
display: -webkit-box;
19+
display: -webkit-flex;
20+
display: -ms-flexbox;
21+
display: flex;
22+
-webkit-box-orient: vertical;
23+
-webkit-box-direction: normal;
24+
-webkit-flex-direction: column;
25+
-ms-flex-direction: column;
26+
flex-direction: column;
27+
-webkit-box-pack: center;
28+
-webkit-justify-content: center;
29+
-ms-flex-pack: center;
30+
justify-content: center;
31+
}
3032
}
31-
3233
/* Main section
3334
------------------------------- */
3435
.main {
@@ -37,7 +38,7 @@ body {
3738

3839
@media (max-width: 500px) {
3940
.main {
40-
margin-bottom: 258px;
41+
margin: 40px 0;
4142
}
4243
}
4344

@@ -142,6 +143,12 @@ body {
142143
bottom: 0;
143144
}
144145

146+
@media (max-width: 500px) {
147+
.bottomBar {
148+
position: relative;
149+
}
150+
}
151+
145152
.controls {
146153
background: #2BA0A0;
147154
padding: 2.5px 0;

src/pomodoro.appcache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CACHE MANIFEST
2-
# 2016-05-31:v4
2+
# 2016-06-01:v1
33

44
CACHE:
55
/

0 commit comments

Comments
 (0)