Skip to content

Commit d86b2b5

Browse files
committed
feat: setting header to 70px and aligning item correctly
1 parent 76b24e1 commit d86b2b5

2 files changed

Lines changed: 17 additions & 14 deletions

File tree

layouts/default.html

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,13 @@
2222
<body class="api">
2323
<div id="header-wrapper">
2424
<div id="header">
25-
<div>
26-
<a class="logo" href="/">
27-
<img src="/images/seeclickfix-311-crm-logo.png" height="33px" alt="CivicPlus SeeClickFix 311 CRM" />
28-
</a>
29-
<ul class="nav">
30-
<li><a href="/">v2 (current)</a></li>
31-
<li><a href="http://seeclickfix.com" target="_blank">SeeClickFix.com</a></li>
32-
<li><a href="http://seeclickfix.com/contact_us" target="_blank">Support</a></li>
33-
</ul>
34-
</div>
25+
<a class="logo" href="/">
26+
<img src="/images/seeclickfix-311-crm-logo.png" height="54px" alt="CivicPlus SeeClickFix 311 CRM" />
27+
</a>
28+
<ul class="nav">
29+
<li><a href="http://seeclickfix.com" target="_blank">SeeClickFix.com</a></li>
30+
<li><a href="http://seeclickfix.com/contact_us" target="_blank">Support</a></li>
31+
</ul>
3532
</div><!-- #header -->
3633
</div><!-- #header-wrapper -->
3734

static/shared/css/documentation.css

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,20 +123,26 @@ a img {
123123
#header-wrapper {
124124
margin-bottom: 0;
125125
clear: both;
126-
height: 55px;
126+
height: 70px;
127127
background: white url(../images/background-v2.png) 0 0 repeat-x;
128128
border-bottom: 1px solid #CCC;
129129
}
130130

131131
#header {
132+
display: flex;
133+
flex-direction: row;
134+
align-items: center;
135+
justify-content: space-between;
132136
margin: 0 auto;
133137
width: 920px;
138+
height: inherit;
134139
}
135140

136141
#header a.logo {
137-
float: left;
138-
margin-top: 10px;
139-
display: inline-block;
142+
display: flex;
143+
flex-direction: column;
144+
align-items: flex-start;
145+
justify-content: center;
140146
}
141147

142148
#header ul.nav {

0 commit comments

Comments
 (0)