-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(kit):
InputInline
has broken scroll in Safari & Firefox (#9947)
- Loading branch information
1 parent
99af187
commit ac13a6f
Showing
9 changed files
with
91 additions
and
35 deletions.
There are no files selected for viewing
47 changes: 47 additions & 0 deletions
47
projects/demo/src/modules/components/input-inline/examples/4/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<ul class="task"> | ||
<ol> | ||
I | ||
<tui-input-inline ngModel="am"></tui-input-inline> | ||
funny. | ||
</ol> | ||
|
||
<ol> | ||
He | ||
<tui-input-inline ngModel=""> | ||
<span class="placeholder">___</span> | ||
</tui-input-inline> | ||
funny. | ||
</ol> | ||
|
||
<ol> | ||
You | ||
<tui-input-inline | ||
ngModel="" | ||
spellcheck="false" | ||
[style.max-width.ch]="15" | ||
[style.min-width.ch]="3" | ||
> | ||
<span class="placeholder">___</span> | ||
</tui-input-inline> | ||
funny. | ||
</ol> | ||
</ul> | ||
|
||
<section class="task"> | ||
<p> | ||
<strong>Writing practice</strong> | ||
<br /> | ||
Learning to | ||
<s>write</s> | ||
type underscore and hyphen | ||
</p> | ||
<!-- prettier-ignore --> | ||
<div> | ||
___<tui-input-inline ngModel=""> | ||
<span class="placeholder">___</span> | ||
</tui-input-inline> | ||
------<tui-input-inline ngModel=""> | ||
<span class="placeholder">------</span> | ||
</tui-input-inline> | ||
</div> | ||
</section> |
8 changes: 8 additions & 0 deletions
8
projects/demo/src/modules/components/input-inline/examples/4/index.less
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.task:first-child tui-input-inline { | ||
text-decoration: underline; | ||
text-align: center; | ||
} | ||
|
||
.placeholder { | ||
color: var(--tui-text-03); | ||
} |
12 changes: 12 additions & 0 deletions
12
projects/demo/src/modules/components/input-inline/examples/4/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import {Component} from '@angular/core'; | ||
import {changeDetection} from '@demo/emulate/change-detection'; | ||
import {encapsulation} from '@demo/emulate/encapsulation'; | ||
|
||
@Component({ | ||
selector: 'tui-input-inline-example-4', | ||
templateUrl: './index.html', | ||
styleUrls: ['./index.less'], | ||
encapsulation, | ||
changeDetection, | ||
}) | ||
export default class TuiInputInlineExample4 {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters