Skip to content

Commit

Permalink
label style
Browse files Browse the repository at this point in the history
  • Loading branch information
VargaJoe committed Nov 16, 2023
1 parent b913704 commit 2219aef
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions apps/sensenet/src/components/field-controls/html-editor.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @module FieldControls
*/
import { InputLabel, Typography } from '@material-ui/core'
import { InputLabel } from '@material-ui/core'
import { changeTemplatedValue, ReactClientFieldSetting } from '@sensenet/controls-react'
import React, { useState } from 'react'
import MonacoEditor from 'react-monaco-editor'
Expand All @@ -22,7 +22,14 @@ export const HtmlEditor: React.FC<ReactClientFieldSetting> = (props) => {
{/* <Typography variant="caption" gutterBottom={true}>
{props.settings.DisplayName}
</Typography> */}
<InputLabel>{props.settings.DisplayName}</InputLabel>
<InputLabel
style={{
display: 'block',
fontSize: '1.3rem',
transformOrigin: 'top left',
}}>
{props.settings.DisplayName}
</InputLabel>

<MonacoEditor
{...props}
Expand Down

0 comments on commit 2219aef

Please sign in to comment.