File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 #{$vs-dialog } {
55 background-color : var (--color-ui-03 );
66 box-shadow : var (--box-shadow-01 );
7- }
87
9- & __body {
10- padding : calc (#{$spacer } * 4 );
11- color : var (--color-text-02 );
12- font-size : var (--font-size-text-20 );
13- text-align : center ;
8+ & __content {
9+ padding : calc (#{$spacer } * 8 );
10+ color : var (--color-text-02 );
11+ font-size : var (--font-size-text-20 );
12+ text-align : center ;
13+ }
14+
15+ & __footer {
16+ display : flex ;
17+ flex-direction : column ;
18+ max-width : 50% ;
19+ margin : 0 auto ;
20+ padding-bottom : calc (#{$spacer } * 4 );
21+ }
1422 }
1523}
Original file line number Diff line number Diff line change 22vs-dialog.app-credits-dialog ( v-model ="dialog.isOpen" blur @close ="handleClose" )
33 template( #header )
44 AppLogo.mt-4
5- .app-credits-dialog__body
6- p( v-html ="$t('credits.description')" )
5+
6+ p( v-html ="$t('credits.description')" )
7+
78 template( #footer )
8- vs-button.mx-auto ( transparent href ="https://github.com/selimdoyranli/4in1crop" blank )
9+ vs-button( color = "#171515" href ="https://github.com/selimdoyranli/4in1crop" blank )
910 AppIcon.me-1 ( name ="charm:github" color ="var(--color-text-02)" )
1011 span.color-text-02 Github repository
1112
1213 // Buymeacoffee Button
13- script(
14- type ="text/javascript"
15- src ="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js"
16- data-name ="bmc-button"
17- data-slug ="selimdoyranli"
18- data-color ="#FFDD00"
19- data-emoji
20- data-font ="Inter"
21- data-text ="Buy me a coffee"
22- data-outline-color ="#000000"
23- data-font-color ="#000000"
24- data-coffee-color ="#ffffff"
25- )
14+ vs-button( color ="#FD0" href ="https://www.buymeacoffee.com/selimdoyranli" blank )
15+ AppIcon.me-1 ( name ="simple-icons:buymeacoffee" color ="var(--color-text-02)" )
16+ span.color-text-02 Donate
2617</template >
2718
2819<script >
Original file line number Diff line number Diff line change 44 .aspect-ratio-select-menu__group.aspect-ratio-select-menu__group--standard
55 .aspect-ratio-select-menu-item (
66 v-for ="ratio in aspectRatio.standard.list"
7- :key ="ratio"
7+ :key ="ratio.key "
88 :class ="[getSelectedClass(ratio)]"
99 @click ="selectRatio(ratio)"
1010 )
1414 .aspect-ratio-select-menu__group.aspect-ratio-select-menu__group--social
1515 .aspect-ratio-select-menu-item (
1616 v-for ="ratio in aspectRatio.social.list"
17- :key ="ratio"
17+ :key ="ratio.key "
1818 :class ="[getSelectedClass(ratio)]"
1919 @click ="selectRatio(ratio)"
2020 )
Original file line number Diff line number Diff line change 3030 span.crop-panel-footer__label
3131 template( v-if ="type === cropTypeEnum.FREE" )
3232 span {{ $t('editor.freeform') }}
33- span( v-if ="selectedFreeFormRatio && selectedFreeFormRatio.key !== cropTypeEnum.FREE" ) ({{ selectedFreeFormRatio.title }})
33+ span( v-if ="selectedFreeFormRatio && selectedFreeFormRatio.key !== cropTypeEnum.FREE" )
34+ | ({{ selectedFreeFormRatio.title.replace(/<\/?[^> ]+(> |$)/g, '') }})
3435 template( v-else ) {{ aspectRatio }}
3536
3637 template( v-if ="panel.cropper" )
You can’t perform that action at this time.
0 commit comments