-
Notifications
You must be signed in to change notification settings - Fork 23
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
Update workflows to use Python 3.7 for ensembler engines and sdk #190
Changes from 3 commits
c7cbf03
bc44146
0dae774
02c5884
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
.euiPanel--configSection { | ||
.euiDescriptionList.euiDescriptionList--responsiveColumn { | ||
> * { | ||
@include euiTextTruncate; | ||
@include euiTextBreakWord; | ||
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. @krithika369, I can't seem to override this mixin that truncates quite a number of text descriptions in other UI components - I tried creating custom style rules for 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. Oh we shouldn't change it globally for all rows.
Could you share the example here? What was tried and where it was placed? 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. So I tried creating this custom style class and using it for the .euiDescriptionList--responsiveColumn.containerConfig {
.euiDescriptionList__description {
@include euiTextBreakWord;
}
} Explicitly specifying the style of the .euiDescriptionList--responsiveColumn.containerConfig {
.euiDescriptionList__description {
overflow-wrap: break-word !important;
word-wrap: break-word !important;
word-break: break-word;
}
} 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. Another thing I've tried to try was to add {
title: "Image",
description: (
<div className="eui-textBreakWord">
thisisaverylargexcepetionnamewithalotofwordsthatatsomepointaregoingtobetruncated
</div>
)
} Although this doesn't 'truncate' the line and replace the missing characters with an ellipsis, it doesn't break the line either... generating something like this instead: 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. I see.. I was going to suggest something along the lines of your second example to override the properties for the single row's description. But adding 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. Thanks a lot! I'll see what I can try out from my end! 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. Using const items = [
{
title: "Image",
description: (<span style={{
wordBreak: "break-word",
textOverflow: "unset",
whiteSpace: "break-spaces"
}} >
{image}
</span >),
}, We're having to override some existing It may not be the most graceful solution but given that we want to relax the truncation behavior for the one description only, I think it may be acceptable. 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. Wow thanks for discovering that! I'll include your code snippet in! |
||
|
||
line-height: 2.1 !important; | ||
margin-top: 2px !important; | ||
|
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.
Added this
if-else
check to handle cases whereby querying the API for a certain router returns an object without aRouterConfig
. This occurs notably when a new Turing Router is pending (being deployed).