Skip to content

Commit

Permalink
Fix logo spaces and sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego committed Jul 19, 2018
1 parent 5b9fbc6 commit dad3129
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,11 @@
-webkit-user-drag: none;
}

&__footer {
&__footer:not(:empty) {
width: auto;
height: var(--sidebar-footer-height);
padding: var(--sidebar-extra-small-default-padding) var(--sidebar-default-padding);

text-align: center;

& img {
max-width: 100%;
height: 100%;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4634,7 +4634,6 @@ body:not(.is-cordova) {

max-width: 100%;
max-height: 150px;
padding: 10px;
}
}

Expand All @@ -4652,6 +4651,9 @@ body:not(.is-cordova) {
& header {
position: relative;
z-index: 1;
width: 520px;
padding: 0 20px;
margin: auto;

display: block;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
--sidebar-default-padding: 24px;
--sidebar-small-default-padding: 16px;
--sidebar-extra-small-default-padding: 12px;
--sidebar-footer-height: 70px;
--sidebar-footer-height: 48px;
--sidebar-small-header-padding: var(--sidebar-small-default-padding);

/*
Expand Down
4 changes: 1 addition & 3 deletions packages/rocketchat-ui-sidenav/client/sideNav.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
</div>
{{/if}}

<footer class="sidebar__footer">
{{{footer}}}
</footer>
<footer class="sidebar__footer">{{{footer}}}</footer>
</aside>
<div class="sidebar-wrap"></div>
</template>
2 changes: 1 addition & 1 deletion packages/rocketchat-ui-sidenav/client/sideNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Template.sideNav.helpers({
},

footer() {
return RocketChat.settings.get('Layout_Sidenav_Footer');
return String(RocketChat.settings.get('Layout_Sidenav_Footer')).trim();
},

roomType() {
Expand Down
46 changes: 20 additions & 26 deletions public/images/logo/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dad3129

Please sign in to comment.