Skip to content

Commit

Permalink
Merge pull request RocketChat#167 from WideChat/ear_toolbar_layout
Browse files Browse the repository at this point in the history
fix toolbar layout when multiple icons are visible
  • Loading branch information
ear-dev authored Feb 26, 2020
2 parents e26f6e8 + bb65607 commit 89559c4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
22 changes: 17 additions & 5 deletions app/theme/client/imports/components/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,24 @@
display: none;
}

&__first-icon {
width: 2.25em;

&__block {
margin: 0 0.2em;

padding: 0 0.1em;
}

&__section {
display: flex;

margin: 0 0.5rem;

padding: 0 0.5rem;

align-items: center;
}

&__first-icon {
width: 2.25em;
padding: 0;
}

Expand All @@ -451,8 +464,6 @@
}

&__search-button {
margin-right: -0.75em;

&__action {
&__icon {
height: 1.2em;
Expand All @@ -475,6 +486,7 @@
display: flex;

margin: 0;

padding: 0;
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/ui/client/components/header/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{{#if rawSectionName}}
<span class="rc-header__block">{{rawSectionName}}</span>
{{else}}
<span class="rc-header__block">{{_ sectionName}}</span>
<span class="rc-header__block rc-header__section">{{_ sectionName}}</span>
{{/if}}

{{#if Template.contentBlock}}
Expand Down

0 comments on commit 89559c4

Please sign in to comment.