mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-23 23:39:47 +08:00
refactor(projects): refactor unocss shortcuts: wh-full => size-full
This commit is contained in:
@ -5,7 +5,7 @@ defineOptions({
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<svg class="wh-full">
|
||||
<svg class="size-full">
|
||||
<defs>
|
||||
<symbol id="geometry-left" viewBox="0 0 214 36">
|
||||
<path d="M17 0h197v36H0v-2c4.5 0 9-3.5 9-8V8c0-4.5 3.5-8 8-8z"></path>
|
||||
|
@ -7,9 +7,6 @@ export function presetSoybeanAdmin(): Preset<Theme> {
|
||||
const preset: Preset<Theme> = {
|
||||
name: 'preset-soybean-admin',
|
||||
shortcuts: [
|
||||
{
|
||||
'wh-full': 'w-full h-full'
|
||||
},
|
||||
{
|
||||
'flex-center': 'flex justify-center items-center',
|
||||
'flex-x-center': 'flex justify-center',
|
||||
@ -33,7 +30,7 @@ export function presetSoybeanAdmin(): Preset<Theme> {
|
||||
'absolute-tr': 'absolute-rt',
|
||||
'absolute-bl': 'absolute-lb',
|
||||
'absolute-br': 'absolute-rb',
|
||||
'absolute-center': 'absolute-lt flex-center wh-full',
|
||||
'absolute-center': 'absolute-lt flex-center size-full',
|
||||
'fixed-lt': 'fixed left-0 top-0',
|
||||
'fixed-lb': 'fixed left-0 bottom-0',
|
||||
'fixed-rt': 'fixed right-0 top-0',
|
||||
@ -42,7 +39,7 @@ export function presetSoybeanAdmin(): Preset<Theme> {
|
||||
'fixed-tr': 'fixed-rt',
|
||||
'fixed-bl': 'fixed-lb',
|
||||
'fixed-br': 'fixed-rb',
|
||||
'fixed-center': 'fixed-lt flex-center wh-full'
|
||||
'fixed-center': 'fixed-lt flex-center size-full'
|
||||
},
|
||||
{
|
||||
'nowrap-hidden': 'overflow-hidden whitespace-nowrap',
|
||||
|
Reference in New Issue
Block a user