Refactor:11; Fix:6; Chore:1; Feat:7; Build:1 #49
@@ -13,6 +13,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
>*:first-child {
|
>*:first-child {
|
||||||
|
width: 0;
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
43
src/assets/css/pages/system/tools/template.scss
Normal file
43
src/assets/css/pages/system/tools/template.scss
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
@use '@/assets/css/constants' as constants;
|
||||||
|
|
||||||
|
[data-component=system-tools-template] {
|
||||||
|
.root-content {
|
||||||
|
padding: 20px;
|
||||||
|
gap: 10px;
|
||||||
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.has-edited::after {
|
||||||
|
content: '*';
|
||||||
|
color: constants.$font-secondary-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
>*:first-child {
|
||||||
|
width: 0;
|
||||||
|
height: fit-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
> *:nth-child(2) {
|
||||||
|
position: sticky;
|
||||||
|
top: 20px;
|
||||||
|
height: calc(100vh - 40px);
|
||||||
|
}
|
||||||
|
|
||||||
|
.close-editor-btn {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 10px;
|
||||||
|
right: 10px;
|
||||||
|
background-color: constants.$font-secondary-color;
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
border-radius: 50%;
|
||||||
|
color: white;
|
||||||
|
opacity: 0.6;
|
||||||
|
box-shadow: 2px 2px 10px 0 rgba(0,0,0,0.2);
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
import Icon from '@ant-design/icons'
|
import Icon from '@ant-design/icons'
|
||||||
import '@/assets/css/pages/system/tools/base.scss'
|
import '@/assets/css/pages/system/tools/template.scss'
|
||||||
import {
|
import {
|
||||||
COLOR_PRODUCTION,
|
COLOR_PRODUCTION,
|
||||||
DATABASE_DELETE_SUCCESS,
|
DATABASE_DELETE_SUCCESS,
|
||||||
@@ -1021,7 +1021,7 @@ const Template = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<FitFullscreen data-component={'system-tools-base'}>
|
<FitFullscreen data-component={'system-tools-template'}>
|
||||||
<HideScrollbar>
|
<HideScrollbar>
|
||||||
<FlexBox direction={'horizontal'} className={'root-content'}>
|
<FlexBox direction={'horizontal'} className={'root-content'}>
|
||||||
<Card>
|
<Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user