question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Applying custom format to ngui-auto-complete-wrapper not applied

See original GitHub issue

Hi,

I’m adding some selectors to a bootstrapped design. And I’m applying a custom CSS for ngui-auto-complete-wrapper, specifically a value of 100% for width, since the selector is not fully expanded to the container.

.ngui-auto-complete-wrapper {
  width: 100%;
}

The style is not really working.

Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
allenhwkimcommented, Apr 3, 2017

To override css, you need to use ViewEncapsulation.None

  // encapsulation: ViewEncapsulation.Native
  encapsulation: ViewEncapsulation.None
  // encapsulation: ViewEncapsulation.Emulated is default 
0reactions
dodoshanticommented, Nov 15, 2017

@javimudi Did this work for you? Setting ViewEncapsulation.None doesn’t work because ngui-auto-complete component styles loads after you click in the input box, which is after the parent styles have loaded. The only way around this is using !important

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and apply a custom number format - Microsoft Support
Select the cell or range of cells that you want to format. In the Format Cells dialog box, under Category, click Custom. At...
Read more >
Custom Excel number format - Ablebits
This tutorial explains the basics of the Excel number format and provides the detailed guidance to create custom formatting.
Read more >
How to Refresh Cell Data After Applying Number Formatting in ...
Choose Custom and type in the format you want to use for the numbers. Click OK. how to apply custom formatting to existing...
Read more >
7 Amazing Excel Custom Number Format Tricks (you Must ...
It's a drop-down that shows many of the commonly used formats that you can apply to a cell by simply selecting the cell...
Read more >
Use conditional formatting rules in Google Sheets - Computer
Select the cells you want to apply format rules to. Click Format and then ... Use custom formulas with conditional formatting. You can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found