Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
class="
slds-button slds-button_icon
slds-modal__close
slds-button_icon-inverse
"
title="Close"
onclick={closeModal}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<button type="button"
class="slds-input_faux slds-combobox__input slds-combobox__input-value"
aria-expanded="false" aria-haspopup="listbox">
<span class="slds-truncate">{selectedField.label}</span>
<span style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; max-width: 100%;">{selectedField.label}</span>
</button>
<button class="slds-button slds-button_icon slds-input__icon slds-input__icon_right"
title="Clear the text input" onclick={handleClearClick}>
Expand Down Expand Up @@ -54,9 +54,9 @@
</template>
</span>
<span class="slds-media__body">
<span class="slds-truncate" title={field.label}>{field.label}</span>
<span style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; max-width: 100%;" title={field.label}>{field.label}</span>
<span class="slds-listbox__option-meta" title={field.name}><span
class="slds-truncate">{field.name}</span></span>
style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; max-width: 100%;">{field.name}</span></span>
</span>
<template if:true={field.isLookup}>
<span
Expand All @@ -76,7 +76,7 @@
class="slds-media slds-listbox__option slds-listbox__option_entity slds-listbox__option_has-meta"
role="option">
<span class="slds-media__body">
<span class="slds-truncate">
<span style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; max-width: 100%;">
{noMatchString}
</span>
</span>
Expand Down Expand Up @@ -104,4 +104,4 @@
There was an error fetching the fields for object '{objectName}': {errorMessage}
</template>
</div>
</template>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
</lightning-icon>
</span>
<span class="slds-media__body">
<span class="slds-truncate"
<span style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; max-width: 100%;"
title={icon.iconName}>{icon.iconName}</span>
</span>
</div>
Expand All @@ -208,7 +208,7 @@
<div class="slds-media slds-listbox__option slds-listbox__option_plain slds-media_small"
role="option">
<span class="slds-media__body">
<span class="slds-truncate">{loadMoreString}</span>
<span style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; max-width: 100%;">{loadMoreString}</span>
</span>
</div>

Expand All @@ -221,7 +221,7 @@
<div class="slds-media slds-listbox__option slds-listbox__option_plain slds-media_small"
role="option">
<span class="slds-media__body">
<span class="slds-truncate">{noMatchesFoundString}</span>
<span style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis; display: inline-block; max-width: 100%;">{noMatchesFoundString}</span>
</span>
</div>
</li>
Expand All @@ -238,4 +238,4 @@
</template>
</div>
</div>
</template>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<h2 class="slds-text-heading_small ">{message}</h2>
</div>
<div class="slds-notify__close">
<button class="slds-button slds-button_icon slds-button_icon-inverse" title="Close" onclick={closeModel}>
<button class="slds-button slds-button_icon" title="Close" onclick={closeModel}>
<lightning-icon icon-name="utility:close" size="small" variant="inverse"> </lightning-icon>
<span class="slds-assistive-text">Close</span>
</button>
</div>
</div>
</div>
</div>
</template>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<template if:false={editMode}>
<div class={cellClass}>
<div class={valueClass}>
<div class={valueClass} style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%;">
{value}
</div>
<div class="slds-align-middle slds-m-left_x-small">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export default class ers_comboboxColumnType extends LightningElement {

//bump left/right depending on alignment. For center, we will align the grids on a the cell level
get valueClass() {
let _valueClass = "slds-col_bump-right slds-align-middle slds-truncate";
let _valueClass = "slds-col_bump-right slds-align-middle";
if(this.alignment.includes("right")) {
_valueClass = "slds-col_bump-left slds-align-middle slds-truncate";
_valueClass = "slds-col_bump-left slds-align-middle";
} else if(this.alignment.includes("center")) {
_valueClass = "slds-align-middle slds-truncate";
_valueClass = "slds-align-middle";
}
return _valueClass;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<!-- a template for cell. File in the myCustomDatatable directory -->
<template if:true={wrapText}>
<lightning-formatted-rich-text value={value} class="slds-truncate" style="white-space: normal">
<lightning-formatted-rich-text value={value} style="overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%;">
</lightning-formatted-rich-text>
</template>
<template if:false={wrapText}>
Expand Down