File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -20,22 +20,22 @@ export default {
2020 },
2121 computed: {
2222 bindClass () {
23- const breakpoints = this .col .split (' ' )
24- let res = ' '
25- breakpoints .forEach (bp => {
26- res += ` ca-flex__${ bp} `
27- })
28- const offsets = this .offset ? this .offset .split (' ' ) : []
29- offsets .forEach (os => {
30- res += ` ca-flex__offset-${ os} `
31- })
32- return res
23+ const breakpoints = this .col .split (' ' );
24+ let res = ' ' ;
25+ breakpoints .forEach (( bp ) => {
26+ res += ` ca-flex__${ bp} ` ;
27+ });
28+ const offsets = this .offset ? this .offset .split (' ' ) : [];
29+ offsets .forEach (( os ) => {
30+ res += ` ca-flex__offset-${ os} ` ;
31+ });
32+ return res;
3333 },
3434 },
3535};
3636 </script >
3737
38- <style >
38+ <style src="./ca-flex. css " >
3939/* TODO: use preprocessor to refactor this code ? */
4040@media only screen and (max-width : 600px ) {
4141 .ca-flex__offset-xs1 {
You can’t perform that action at this time.
0 commit comments