-
Notifications
You must be signed in to change notification settings - Fork 877
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
Expected CSS styles not working #112
Comments
i have the same issue, i don't understand how to apply styles, please, Any explanations. |
I am also having the same problem while using this smart table with Bootstrap 3 can some please throw light for us to customize the css in order to increase the font of table content |
Any update on this? Were you able to make any CSS customizations? |
Me too same problem |
@stefanofalasca : This was a false alarm for me. I hadn't imported the file to modify the theme correctly. |
mee too same problem |
problem source : default ng2-smart-table style is erasing any post defined css rules. I am forking the repo to comment css file |
@youneschaoui - Please let us know once you commit the code to repo. Thank you for finding the root cause and willing to fork the fix to the repo. |
me too same problem |
The issue is most likely that the tr/th style specifies 0.875rem for the font size and Bootstrap 3 by default has a small base font, maybe 10px? 0.875rem means that the font sizes for the table rows and headers with be 0.875x the size of the base/root font - which is small in Bootstrap. So you can either customise/modify your Bootstrap configuration to a bigger base font size or update the styles for the table rows/headers to be something bigger than 0.875rem. However, it would be good to be able to override the tr/th values as part of the components configuration. |
Me too have the same issue . any update or work around please ? |
I have also same issue.I am not able to apply extra css to smart table. |
Having same problem. Can't apply bootstrap classes for the table. Any solution ? |
No i make my own table
Le 11 juil. 2017 4:33 PM, "Srini Koganti" <notifications@github.com> a
écrit :
… Having same problem. Can't apply bootstrap classes for the table. Any
solution ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARgSesiC6l9aQpEg5IYS9O4Y1mjQKfH7ks5sM4fNgaJpZM4LRVIs>
.
|
the table is designed by using bootstrap.If you have to use or apply css externally for the table then |
Hi! I migrate the version of angular from 2 to 4 for use the new version of the component. In my case, the ng2-smart-table component, version ^1.2.2, doesn't show the cell style border. I have to define any style for showing? Or the styles of the tables changes from the version 0.6.0? Thanks in advanced, David |
Hi,
You have define style by externally in styles.css.
Thanks
…On Sep 28, 2017 4:38 PM, "David Martínez Ros" ***@***.***> wrote:
Hi!
I migrate the version of angular from 2 to 4 for use the new version of
the component.
In my case, the ng2-smart-table component, version ^1.2.2, doesn't show
the cell style border.
I have to define any style for showing? Or the styles of the tables
changes from the version 0.6.0?
Thanks in advanced,
David
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#112 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Abh1CPJ_wSf_1Hgx9of9Te9ktoSLIb-1ks5sm34igaJpZM4LRVIs>
.
|
use below configuration in the setting object attr: { and :host /deep/ ng2-smart-table { eg . |
I have the same problem, do you have any updates ? |
Our current application has the requirement to be responsive, so we are using bootstrap 3. App is still in initial stages and all the styles are applied only using bootstrap classes.
Smart-table that has been included using npm install doesn't have the actual/expected styles from demos.
The labels and text outside of table are of font-size 14 px, where as text inside tables is getting computed to 8.75px. Also, table's border-top doesn't appear.
I have tried adding classes to table and then have those classes define styles in module and component based css files but still doesn't apply.
Is there a way to customize the styles for smart-tables ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: