Skip to content

Commit fcae9cd

Browse files
author
ThePonti
committed
Update for responsive design
1 parent 151206a commit fcae9cd

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

practicals/stacks/option3/public/css/style.css

+9-6
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,9 @@ html {
133133
position: relative;
134134
}
135135
#create-todo input {
136-
margin-top:20px;
137-
width: 466px;
136+
margin-top:20px;
137+
width: 80%;
138+
min-width: 285px;
138139
font-size: 24px;
139140
font-family: inherit;
140141
line-height: 1.4em;
@@ -243,8 +244,8 @@ html {
243244
visibility: hidden;
244245
}
245246
#todo-stats .todo-count {
246-
font-size: 14px;
247-
font-weight: normal;
247+
font-size: 14px;
248+
font-weight: normal;
248249
float: left;
249250
}
250251
#todo-stats .todo-count .number {
@@ -420,8 +421,10 @@ html {
420421

421422
}
422423

423-
@media only screen and (min-width: 768px) {
424-
424+
@media only screen and (max-width: 768px) {
425+
#todoapp {
426+
width: 85%;
427+
}
425428
}
426429

427430

practicals/stacks/option3/public/js/script.js

-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ $(function(){
142142
clear: function() {
143143
this.model.destroy();
144144
}
145-
146145
});
147146

148147
// The Application

0 commit comments

Comments
 (0)