mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-21 03:51:15 -08:00
fix: style
This commit is contained in:
parent
bd2b8a4449
commit
95bc83022f
4 changed files with 7 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import styled, { css } from 'styled-components';
|
||||
import { styled, css } from 'styled-components';
|
||||
|
||||
export const RootStyle = styled.div`
|
||||
.Mui-selected,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { Autocomplete, Button, Fab, Paper, TextField, Tooltip, Typography } from '@mui/material';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import styled, { css } from 'styled-components';
|
||||
import { styled, css } from 'styled-components';
|
||||
|
||||
export const CreateContainer = styled(Paper)`
|
||||
padding: 10px;
|
||||
|
|
@ -12,11 +12,13 @@ export const LocationPickerContainer = styled.div`
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-bottom: 10px;
|
||||
width: 100%;
|
||||
background-color: ${({ theme }) => theme.palette.background.paper};
|
||||
color: ${({ theme }) => theme.palette.text.primary};
|
||||
`;
|
||||
export const LocationPickerInput = styled(TextField)`
|
||||
background-color: ${({ theme }) => theme.palette.background.paper};
|
||||
flex: 1;
|
||||
`;
|
||||
LocationPickerInput.defaultProps = {
|
||||
fullWidth: true,
|
||||
|
|
|
|||
|
|
@ -280,6 +280,7 @@ export default function EditWorkspace(): React.JSX.Element {
|
|||
</Tooltip>
|
||||
<AccordionDetails>
|
||||
<TextField
|
||||
fullWidth
|
||||
id='outlined-full-width'
|
||||
label={t('EditWorkspace.Path')}
|
||||
helperText={t('EditWorkspace.PathDescription')}
|
||||
|
|
@ -292,6 +293,7 @@ export default function EditWorkspace(): React.JSX.Element {
|
|||
/>
|
||||
{isSubWiki && mainWikiToLink && (
|
||||
<TextField
|
||||
fullWidth
|
||||
id='outlined-full-width'
|
||||
label={t('EditWorkspace.MainWorkspacePath')}
|
||||
helperText={t('EditWorkspace.PathDescription')}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
import { Settings as SettingsIcon, Upgrade as UpgradeIcon } from '@mui/icons-material';
|
||||
import { t } from 'i18next';
|
||||
import SimpleBar from 'simplebar-react';
|
||||
import styled, { css } from 'styled-components';
|
||||
import { styled, css } from 'styled-components';
|
||||
import is, { isNot } from 'typescript-styled-is';
|
||||
|
||||
import { latestStableUpdateUrl } from '@/constants/urls';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue