Skip to content

Commit

Permalink
fix: header styles
Browse files Browse the repository at this point in the history
  • Loading branch information
teramotodaiki committed Nov 20, 2019
1 parent d88cf8f commit 56c342d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export function Header() {
Menu
</IconButton>
<span>TITLE</span>
<div className={flex.blank}></div>
<CollaboratorIcons />
<IconButton name="cloud" onClick={debug}>
Debug
Expand Down
3 changes: 3 additions & 0 deletions src/styles/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
span {
margin-left: 2px;
padding: 2px 8px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}

Expand Down
6 changes: 4 additions & 2 deletions src/styles/collaborator-icons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ $gap: 5px;
}

.wrapper {
justify-content: flex-end;
flex: 1;
justify-content: flex-start;
flex-direction: row-reverse;
padding: 4px $overlap;
margin-right: 8px;
overflow: hidden;
}

.item {
Expand Down Expand Up @@ -68,7 +70,7 @@ $gap: 5px;
.text {
flex: 1;
color: $alterColor;
margin: -5px 4px 0 0;
margin: -2px 4px 0 0;
overflow: hidden;

.userName {
Expand Down
3 changes: 2 additions & 1 deletion src/styles/element.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@
// ヘッダー
.header {
@include shadow(1);
flex: 0 0 32px;
flex: 0 0 44px;
color: $textColor;
background-color: $paperColor;
z-index: 100;
overflow: hidden;
}

// テキストセル
Expand Down

0 comments on commit 56c342d

Please sign in to comment.