fix error
This commit is contained in:
parent
3a30ede63c
commit
371dfa015d
|
@ -37,7 +37,7 @@ all_template.each do |folder|
|
||||||
i = texts.rindex(s1[-1])
|
i = texts.rindex(s1[-1])
|
||||||
texts[i] = ""
|
texts[i] = ""
|
||||||
end
|
end
|
||||||
regex_pattern = /.response-content {\n position: static;\n}\n|.response-content {\n position: relative;\n}\n|.response-content[^{]*{[^}]*@media[^{]*{[^{]*}[^{]*@media[^{]*{[^{]*}[^}]*}[^}]*}/m
|
regex_pattern = /.response-content {\n position: static;\n}|.response-content {\n position: relative;\n}|.response-content[^{]*{[^}]*@media[^{]*{[^{]*}[^{]*@media[^{]*{[^{]*}[^}]*}[^}]*}/m
|
||||||
if !texts.include? "$font-h1:"
|
if !texts.include? "$font-h1:"
|
||||||
texts = "$font-h1: 1.5rem;\n$font-h2: 1.35rem;\n$font-h3: 1.2rem;\n$font-h4: 1.1rem;\n$font-h5: 1rem;\n$font-h6: 0.9rem;\n\n" + texts
|
texts = "$font-h1: 1.5rem;\n$font-h2: 1.35rem;\n$font-h3: 1.2rem;\n$font-h4: 1.1rem;\n$font-h5: 1rem;\n$font-h6: 0.9rem;\n\n" + texts
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue