-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Drive table #12397
base: develop
Are you sure you want to change the base?
Fix Drive table #12397
Changes from 15 commits
0d26d21
f8043d0
b5ee64e
951807d
b3dabf4
673b887
dc6ed86
4938880
532930e
c1b7331
5ec659a
65188bf
81209bb
e7c04af
85a9bb9
e3ca1e7
5e59056
7ae9d02
cfd6a5e
c6e79bd
8f50c31
ef51cb2
a95b150
f3f1aa6
438c4f3
2c3b1f2
cab3917
b40c8c9
e68c8b1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -337,7 +337,7 @@ const ButtonContent = memo(function ButtonContent(props: ButtonContentProps) { | |
styles={styles} | ||
hideLoader={hideLoader} | ||
/> | ||
<Text color="inherit" truncate="1" className={styles.text()}> | ||
<Text weight="custom" color="inherit" truncate="1" className={styles.text()}> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On the second though - why did we add the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. any better suggestions? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Buttons (actions) shouldn't be truncated and should use active verbs. What does this button do? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. uhh... nothing 😅 - as above, just using it as a hack to get a pre-aligned icon + text combo. i guess ideally we could refactor this out to a style-only component and then use that instead of a full on either way There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, lets use just a
Yeah, we can add this pattern as a Also we do the same here so we can base the receipt on this: https://github.com/enso-org/enso/blob/wip/sergeigarin/flat-folder-structure-follow-up/app/gui/src/dashboard/components/Breadcrumbs/BreadcrumbItem.tsx#L206 |
||
{children} | ||
</Text> | ||
{hasAddon(addonEnd) && <div className={styles.addonEnd()}>{addonEnd}</div>} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We used to have a span with
className={styles.text()}
, haven't we?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, i tried extracting the css directly and it doesn't seem to work.
try running this commit in dev (staging env) and create a project execution (no repeats to minimize load, but long timezone to (try to) trigger the
truncate
class):438c4f3