This commit is contained in:
BOHUNG 2020-02-08 12:34:42 +08:00
parent e78537ee2b
commit 48fd0f5809
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ app_path = File.expand_path(__dir__)
template_path = ENV['PWD'] + '/app/templates'
all_template = Dir.glob(template_path+'/*/')
puts 'editing files for sassc'
check_texts = ['@import "../../bootstrap/variables";','.response-content {\n position: relative;\n\n @media (min-width: $screen-sm) {\n width: 100%;\n }\n\n @media (min-width: $screen-md) {\n width: 970px;\n }\n\n @media (min-width: $screen-lg) {\n width: 1100px;\n }\n}\n']
check_texts = ['@import "../../bootstrap/variables";',".response-content {\n position: relative;\n\n @media (min-width: $screen-sm) {\n width: 100%;\n }\n\n @media (min-width: $screen-md) {\n width: 970px;\n }\n\n @media (min-width: $screen-lg) {\n width: 1100px;\n }\n}\n"]
all_template.each do |folder|
if !folder.include?('mobile')
begin