dreamingechoes / bootstrap_sb_admin_base_v1

Rails gem of the Bootstrap based admin theme SB Admin.
https://dreamingechoes.github.io/bootstrap_sb_admin_base_v1
MIT License
6 stars 3 forks source link

Minor display issue: font too small #1

Open ghost opened 6 years ago

ghost commented 6 years ago

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.

image

It's a very simple toy project, like sensor admin but easier and simpler.

In application.js file I add these lines accordingly:

//= require jquery
//= require bootstrap_sb_admin_base_v1
//= require turbolinks
//= require_tree .

In my application.css.scss I add these lines:

@import "bootstrap-sprockets";
@import "bootstrap";
@import "font-awesome";
@import "bootstrap_sb_admin_base_v1";

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.

stratigos commented 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?

dreamingechoes commented 6 years ago

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! 😄

ghost commented 6 years ago

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.🤝