CSS

Docker - how to run compass watch

Compass watch compiles sass or scss files using compass open-source CSS Authoring Framework. The way mentioned in this blog is config compass in docker-compose so that every time any sass changed, compass watch will run automatically. 

First, you need to configure your folders in a config.rb file, placed on the sass root folder. Here's an example folder structure, and its corresponding config.rb file.

/src
  /compass
    /sass
    config.rb
  /app
  /public
    /css

So the config.rb should set like below:

Fix Gmap display problem in Drupal quicktab

The css below fix the GMAP display issue in Drupal 7 Qucktab problem

.quicktabs-hide {
    display: block;
    position: absolute;
    left: -10000px;
    top: -10000px;
}

 

Fix Gmap display problem in Drupal quicktab

The css below fix the GMAP display issue in Drupal 7 Qucktab problem

.quicktabs-hide {
    display: block;
    position: absolute;
    left: -10000px;
    top: -10000px;
}