Skip to content

Commit afd3f1a

Browse files
committed
Fixes
1 parent 1b19c89 commit afd3f1a

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

index.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@
1616

1717
<header class="header">
1818
<nav class="nav">
19-
<div class="title__box">
20-
<a href="#" class="icon__box nav__link">
21-
<img class="nav__icon" src="img/favicon-3.svg">
22-
<h1 class="nav__title">Moviescope</h1>
23-
</a>
24-
</div>
19+
<a href="#" class="title__box nav__link">
20+
<img class="nav__icon" src="img/favicon-3.svg">
21+
<h1 class="nav__title">Moviescope</h1>
22+
</a>
2523
<form action="./pages/search.html" class="searchBox">
2624
<input type="text" class="searchBox__input" name="search" placeholder="Search Movies/TV Shows">
2725
<button class="searchBox__btn">

shared.css

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,18 +75,12 @@ body {
7575
height: 100%;
7676
display: flex;
7777
align-items: center;
78-
justify-content: center;
79-
}
80-
81-
.icon__box {
82-
height: 100%;
83-
display: flex;
84-
align-items: center;
78+
justify-content: space-between;
8579
}
8680

8781
.nav__icon {
88-
margin-right: 5%;
89-
height: 75%;
82+
height: 80%;
83+
padding-right: 1%;
9084
}
9185

9286
.nav__title {
@@ -114,7 +108,7 @@ body {
114108

115109
.searchBox__input {
116110
background-color: var(--nav-color-contrast);
117-
padding: 1.6rem;
111+
padding: 1rem 0rem 1rem 1rem;
118112
height: 100%;
119113
width: 90%;
120114
font-size: 1.5rem;

0 commit comments

Comments
 (0)