Make font previews less humongous

This commit is contained in:
Igor Zinken
2025-02-08 13:13:57 +01:00
parent 6edf939cba
commit 01722bee77
2 changed files with 10 additions and 1 deletions

View File

@@ -21,7 +21,9 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
<template>
<div class="font-preview" :class="fontPreviewClass"></div>
<div class="font-preview__wrapper">
<div class="font-preview" :class="fontPreviewClass"></div>
</div>
</template>
<script lang="ts">
@@ -42,4 +44,9 @@ export default {
<style lang="scss" scoped>
@import "@/styles/font-previews";
.font-preview__wrapper {
padding-top: 4px;
height: 18px;
}
</style>

View File

@@ -3,6 +3,8 @@
background-image: url( "@@/images/font-previews-fs8.png" );
width: 316px;
height: 24px;
transform: scale(0.5);
transform-origin: 0 0;
}
.AbrilFatface {
background-position: 0 -0px;