Skip to content

Commit

Permalink
enhance mobile header links (#3344)
Browse files Browse the repository at this point in the history
* enhance mobile header links

- change underlinedText style to use borderBottom
- disable text selection

* update vrt
  • Loading branch information
tim-smart authored Sep 5, 2024
1 parent 5229fe7 commit 8e6fb4c
Show file tree
Hide file tree
Showing 19 changed files with 13 additions and 4 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ function AccountName({ account, pending, failed }) {
/>
)}
<Text
style={{ ...styles.underlinedText, ...styles.lineClamp(2) }}
style={{
userSelect: 'none',
...styles.underlinedText,
...styles.lineClamp(2),
}}
onClick={onClick}
>
{`${account.closed ? 'Closed: ' : ''}${account.name}`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1998,6 +1998,7 @@ function MonthSelector({
fontSize: 16,
fontWeight: 500,
margin: '0 5px',
userSelect: 'none',
...styles.underlinedText,
}}
onPointerUp={e => {
Expand Down
4 changes: 1 addition & 3 deletions packages/desktop-client/src/style/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,7 @@ export const styles = {
animationDelay: '0.5s',
},
underlinedText: {
textDecoration: 'underline',
textDecorationThickness: 2,
textDecorationColor: theme.pillBorder,
borderBottom: `2px solid`,
},
noTapHighlight: {
WebkitTapHighlightColor: 'transparent',
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/3344.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Enhancements
authors: [tim-smart]
---

Adjust mobile header link style

0 comments on commit 8e6fb4c

Please sign in to comment.