-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7944 from RocketChat/fix-embedded
[FIX] Broken embedded view layout
- Loading branch information
Showing
5 changed files
with
46 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
<template name="flexTabBar"> | ||
<div class="flex-tab-container border-component-color {{opened}}"> | ||
<section class="flex-tab border-component-color"> | ||
<div class="content flex-tab__content"> | ||
<button class="close-flex-tab secondary-font-color"> | ||
<span class="secondary-background-color"><i class="icon-cancel"></i></span> | ||
</button> | ||
{{> Template.dynamic template=template data=flexData}} | ||
</div> | ||
</section> | ||
<div class="flex-tab-bar content-background-color" role="toolbar"> | ||
{{#each buttons}} | ||
<div class="tab-button {{active}} {{visible}} {{class}}" title="{{title}}"> | ||
<button aria-label="{{title}}"> | ||
{{> icon block="tab-button-icon" icon=icon }} | ||
{{#unless embeddedVersion}} | ||
<div class="flex-tab-container border-component-color {{opened}}"> | ||
<section class="flex-tab border-component-color"> | ||
<div class="content flex-tab__content"> | ||
<button class="close-flex-tab secondary-font-color"> | ||
<span class="secondary-background-color"><i class="icon-cancel"></i></span> | ||
</button> | ||
{{> Template.dynamic template=template data=flexData}} | ||
</div> | ||
{{/each}} | ||
</section> | ||
<div class="flex-tab-bar content-background-color" role="toolbar"> | ||
{{#each buttons}} | ||
<div class="tab-button {{active}} {{visible}} {{class}}" title="{{title}}"> | ||
<button aria-label="{{title}}"> | ||
{{> icon block="tab-button-icon" icon=icon }} | ||
</button> | ||
</div> | ||
{{/each}} | ||
</div> | ||
</div> | ||
</div> | ||
{{/unless}} | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters