bootstrap_sb_admin_base_v1 icon indicating copy to clipboard operation
bootstrap_sb_admin_base_v1 copied to clipboard

Minor display issue: font too small

Open ghost opened this issue 7 years ago • 3 comments

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.

ghost avatar Feb 22 '18 22:02 ghost

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?

stratigos avatar Mar 14 '18 23:03 stratigos

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

dreamingechoes avatar Mar 15 '18 20:03 dreamingechoes

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

ghost avatar Mar 20 '18 17:03 ghost