Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
Fix account_selector position for darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Aug 4, 2020
1 parent a4f4666 commit 6b77f8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- Support over-140-char tweets properly
- Focus on an invisible element with Tab when focusing on the editor
- Since v1.6.7, the focus had unintended behaviors. This fixes the issue of v1.6.7+.
- Fix the wrong position of account selector introduced at v1.6.7

## v1.8.1
- Downgrade Electron from v9.1.2 to v5.0.13
Expand Down
8 changes: 4 additions & 4 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ $dark_grey: #555;
$white: #fff;
$dark_blue: #0084b4;
$orange: #f4c142;
$account_selector_top: $profile_image_size + $editor_vertical_padding;
$account_selector_top: $profile_image_size + $editor_vertical_padding + 6px;

@keyframes favorite_animation {
0% { transform: scale(1); }
Expand All @@ -48,7 +48,7 @@ body {

.account_selector {
position: absolute;
top: $account_selector_top + 6px;
top: $account_selector_top;
left: $profile_image_offset;
background: $white;
border: 1px solid #d5d5d5;
Expand Down Expand Up @@ -492,8 +492,8 @@ body {
-webkit-app-region: no-drag;
}

#account_selector {
top: $account_selector_top + $title_bar_offset + 8px;
.account_selector {
top: $account_selector_top + $title_bar_offset;
}

.tabs,
Expand Down

0 comments on commit 6b77f8b

Please sign in to comment.