Skip to content

Commit 4205938

Browse files
Amir SohelAmir Sohel
authored andcommitted
mobile alignment changed
1 parent 41ab9a1 commit 4205938

File tree

2 files changed

+27
-18
lines changed

2 files changed

+27
-18
lines changed

src/App.scss

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -295,28 +295,37 @@ button {
295295
color: #9b9ea0;
296296
cursor: pointer;
297297
z-index: 99;
298+
display: none;
298299
}
299300

300301
.search-wrapper {
301-
height: 0;
302-
transition: all 0.4s;
303-
overflow: hidden;
302+
margin-right: 60px;
304303
&.open{
305304
height: auto;
306305
transition: all 0.4s;
307306
overflow: visible;
308307
}
309308
}
310309

310+
311+
311312
@media (max-width:767px){
313+
.mob-font-size-13 {font-size: 13px;}
314+
.search-wrapper {
315+
height: 0;
316+
transition: all 0.4s;
317+
overflow: hidden;
318+
}
319+
.search_icon{display: block;}
312320
.Search-result {width: 100%;}
313321
.following-area {padding-left: 0 !important;}
314-
}
315-
316-
.following-area {
317-
p {font-size: 13px;}
318-
span {
319-
font-size: 13px;
322+
.following-area {
323+
p {font-size: 13px;}
324+
span {
325+
font-size: 13px;
326+
}
320327
}
328+
321329
}
322330

331+

src/Components/Views/Pinned.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ const Pinned = (props) => {
1111
<div className="card-block py-3 px-4">
1212
<h6 className="card-title text-center"> {repo.nameWithOwner}</h6>
1313
<div className="row text-center mt-3">
14-
<div className="col-md-4">
15-
{repo.defaultBranchRef.target.history.totalCount}
14+
<div className="col-md-4 col-4">
15+
<span className="mob-font-size-13">{repo.defaultBranchRef.target.history.totalCount}</span>
1616
<br />
17-
Commits
17+
<span className="mob-font-size-13"> Commits</span>
1818
</div>
19-
<div className="col-md-4">
20-
{repo.forkCount}
19+
<div className="col-md-4 col-4">
20+
<span className="mob-font-size-13">{repo.forkCount}</span>
2121
<br />
22-
Forks
22+
<span className="mob-font-size-13"> Forks</span>
2323
</div>
24-
<div className="col-md-4">
25-
{repo.stargazers.totalCount}
24+
<div className="col-md-4 col-4">
25+
<span className="mob-font-size-13">{repo.stargazers.totalCount}</span>
2626
<br />
27-
Stars
27+
<span className="mob-font-size-13"> Stars</span>
2828
</div>
2929
</div>
3030
<h6 className="text-center mt-3">The main language is <span style={{ color: repo.languages.nodes[0].color }}>{repo.languages.nodes[0].name}</span></h6>

0 commit comments

Comments
 (0)