# Pavilion Header Search Theme Component

**URL:** https://meta.discourse.org/t/pavilion-header-search-theme-component/67959
**Category:** Theme component
**Tags:** pavilion, broken
**Created:** [2017年八月13日 09:43 UTC](https://meta.discourse.org/t/pavilion-header-search-theme-component/67959 "2017-08-13T09:43:48Z")
**Posts on this page:** 1
**Showing post:** 24

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [2018年三月6日 01:09 UTC](https://meta.discourse.org/t/pavilion-header-search-theme-component/67959/24 "2018-03-06T01:09:32Z")

</div>

There’s been some [recent work on the header scss](https://github.com/discourse/discourse/commits/master/app/assets/stylesheets/common/base/header.scss). This is an updated version of the right alignment scss customisation that will work.

```plaintext
.header-search-enabled .contents {
   display: flex;
   justify-content: space-between;
    
   &:before, &:after {
     display: none;
   }
    
   .title {
     flex: 1 1 auto;
   }
    
   .search-header {
     float: right;
     margin-left: 0;
     margin-right: 10px;
   }
    
   .search-input {
     margin-right: 0;
   }
    
   .search-context {
     padding-top: 5px;
   }

   .results {
     right: 0;
   }
}

```

---

_[View the full topic](https://meta.discourse.org/t/pavilion-header-search-theme-component/67959)._
