Skip to content

Commit f3ed05a

Browse files
committed
fix stylelint issues
1 parent 5af2b75 commit f3ed05a

File tree

5 files changed

+3
-23
lines changed

5 files changed

+3
-23
lines changed

components/filter/filter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class Filter extends FocusMixin(LocalizeCoreElement(RtlMixin(LitElement))) {
180180
display: -webkit-box;
181181
hyphens: auto;
182182
-webkit-line-clamp: 2;
183-
word-break: break-word;
183+
overflow-wrap: anywhere;
184184
}
185185
186186
d2l-list-item[selection-disabled] .d2l-filter-dimension-set-value,

components/focus-trap/focus-trap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class FocusTrap extends FocusMixin(LitElement) {
2929
display: inline-block;
3030
}
3131
:host([hidden]) {
32-
display: hidden;
32+
display: none;
3333
}
3434
`;
3535
}

components/form/demo/form-panel-demo.js

-19
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,9 @@ class FormPanelDemo extends LitElement {
3232
display: none;
3333
}
3434
35-
.d2l-form-panel-demo-panel {
36-
background-color: white;
37-
border-radius: 8px;
38-
padding: 20px;
39-
}
40-
4135
.d2l-form-panel-demo-container {
4236
margin-bottom: 10px;
4337
}
44-
45-
.d2l-form-panel-demo-header {
46-
align-items: top;
47-
cursor: pointer;
48-
display: flex;
49-
justify-content: space-between;
50-
}
51-
52-
.d2l-form-panel-demo-text {
53-
align-items: center;
54-
display: flex;
55-
margin: 0;
56-
}
5738
`];
5839
}
5940

components/form/form-errory-summary.js

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class FormErrorSummary extends LocalizeCoreElement(RtlMixin(LitElement)) {
2626
}
2727
2828
.d2l-form-error-summary-header {
29-
align-items: top;
3029
cursor: pointer;
3130
display: flex;
3231
justify-content: space-between;

components/inputs/input-textarea.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ class InputTextArea extends InputInlineHelpMixin(FocusMixin(LabelledMixin(FormEl
126126
.d2l-input-textarea-mirror {
127127
line-height: 1rem;
128128
overflow: hidden;
129+
overflow-wrap: anywhere; /* prevent width from growing */
129130
padding-bottom: 0.5rem;
130131
padding-top: 0.5rem;
131132
visibility: hidden;
132-
word-break: break-word; /* prevent width from growing */
133133
}
134134
:host([no-padding]) .d2l-input {
135135
padding-left: 0;

0 commit comments

Comments
 (0)