diff options
author | silverwind <me@silverwind.io> | 2024-03-23 19:45:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 18:45:11 +0000 |
commit | fabe01478ab449cc4870b7e2a9a1db3911bb14bd (patch) | |
tree | a826847497e29b312326746bcbcb493fce9d5413 /web_src/js | |
parent | d9e33959b38d1463f69f6f8807bc50095cf6dbdb (diff) | |
download | gitea-fabe01478ab449cc4870b7e2a9a1db3911bb14bd.tar.gz gitea-fabe01478ab449cc4870b7e2a9a1db3911bb14bd.zip |
Migrate font-weight helpers to tailwind (#30027)
Commands ran:
```sh
perl -p -i -e 's#gt-font-light#tw-font-light#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-font-normal#tw-font-normal#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-font-medium#tw-font-medium#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-font-semibold#tw-font-semibold#g' web_src/js/**/* templates/**/*
perl -p -i -e 's#gt-font-bold#tw-font-bold#g' web_src/js/**/* templates/**/*
```
Diffstat (limited to 'web_src/js')
-rw-r--r-- | web_src/js/components/DiffFileList.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/components/DiffFileList.vue b/web_src/js/components/DiffFileList.vue index 3a0e287808..66fe49c50b 100644 --- a/web_src/js/components/DiffFileList.vue +++ b/web_src/js/components/DiffFileList.vue @@ -38,7 +38,7 @@ export default { <template> <ol class="diff-stats gt-m-0" ref="root" v-if="store.fileListIsVisible"> <li v-for="file in store.files" :key="file.NameHash"> - <div class="gt-font-semibold tw-flex tw-items-center pull-right"> + <div class="tw-font-semibold tw-flex tw-items-center pull-right"> <span v-if="file.IsBin" class="gt-ml-1 gt-mr-3">{{ store.binaryFileMessage }}</span> {{ file.IsBin ? '' : file.Addition + file.Deletion }} <span v-if="!file.IsBin" class="diff-stats-bar gt-mx-3" :data-tooltip-content="store.statisticsMessage.replace('%d', (file.Addition + file.Deletion)).replace('%d', file.Addition).replace('%d', file.Deletion)"> |