Open ghost opened 6 years ago
If this helps, I just started a brand new rails project, and am using bootstrap_sb_admin_base_v1
. I have no custom / local CSS or JS whatsoever, just basic text in HTML files. The font sizes are exactly as what is displayed on the SB Admin Theme demo site.
Can you post a link to your project that is exhibiting this issue?
Hi @nathanaelyang830427 and @stratigos!
Sorry for the delay in the response to this issue! As @stratigos said, I tried with a simple example application and the font sizes are as expected. Maybe some custom CSS of your own is overriding the default font sizes. If you give me a link to your project I can check the CSS and see what it happens.
Greetings! 😄
Hi @dreamingechoes and @stratigos,
Sorry for not reply in time. According to replies above I think it should be problem at my side. I will try to figure out it myself and come here for help if I finally failed. At that time I will prepare a project link for your convenience.
Many thanks for you guys' generous help.🤝
Hi @dreamingechoes ,
Many thanks for your work and quick response to my previous issue under bootstrap_sb_admin_base_v2 project.
I tried to check twice and still find the font display is too small, currently I am not sure whether my coding has style issue or there is minor issue within the gem, so I just post the issue here for help.
It's a very simple toy project, like sensor admin but easier and simpler.
In application.js file I add these lines accordingly:
In my application.css.scss I add these lines:
for the layouts, I copied them from the sb admin theme index page and made adjustments accordingly.
Currently I cannot figure out what the cause is and please kindly have a look. If your sample project has no such kind of font display issue I will try to make a more clear project rather than transfer from previous v2 to v1.