Skip to content

Commit 5cdd877

Browse files
Apply style
1 parent 255b0e7 commit 5cdd877

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

static/index.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<head>
55
<title>GitHub Search🔍</title>
66
<link rel="stylesheet" type="text/css" href="style.css">
7+
<meta name="viewport" content="width=device-width,initial-scale=1">
78
</head>
89

910
<body>
@@ -13,8 +14,8 @@ <h1>GitHub Search🔍</h1>
1314
<input name="query" type="text" value="Swift"/>
1415
<button type="submit">Search</button>
1516
</form>
16-
<ul id="github-repository-list">
17-
</ul>
17+
<div id="github-repository-list">
18+
</div>
1819
<div id="github-load-more">
1920
<div class="loading-icon">
2021
<svg viewBox="0 0 32 32">

static/style.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ a {
33
text-decoration: none;
44
}
55

6+
body {
7+
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
8+
}
9+
610
#github-search-form {
711
margin-left: auto;
812
margin-right: auto;
913
width: 80%;
1014
}
1115

12-
#github-search-form > input[type=text] {
13-
line-height: 20px;
14-
width: 80%;
15-
}
1616

1717
.github-repository {
1818
display: flex;

0 commit comments

Comments
 (0)