File tree Expand file tree Collapse file tree 4 files changed +12
-14
lines changed
packages/admin-ui/src/components Expand file tree Collapse file tree 4 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import ListItem from '@material-ui/core/ListItem';
88import DeleteIcon from '@material-ui/icons/Delete' ;
99import FormLabel from '@material-ui/core/FormLabel' ;
1010import ReorderIcon from '@material-ui/icons/Reorder' ;
11+ import Fab from '@material-ui/core/Fab' ;
1112import FormControl from '@material-ui/core/FormControl' ;
1213import ListItemText from '@material-ui/core/ListItemText' ;
1314import ListItemIcon from '@material-ui/core/ListItemIcon' ;
@@ -210,9 +211,8 @@ class MultipleFields extends Component {
210211 } ) }
211212 </ ListItemText >
212213 < Fragment >
213- < Button
214+ < Fab
214215 mini
215- variant = "fab"
216216 color = "secondary"
217217 className = "remove"
218218 aria-label = "Remove Image"
@@ -224,7 +224,7 @@ class MultipleFields extends Component {
224224 } }
225225 >
226226 < DeleteIcon />
227- </ Button >
227+ </ Fab >
228228 </ Fragment >
229229 </ ListItem >
230230 ) ) }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import FormLabel from '@material-ui/core/FormLabel';
1010import TextField from '@material-ui/core/TextField' ;
1111import List from '@material-ui/core/List' ;
1212import ListItem from '@material-ui/core/ListItem' ;
13- import Button from '@material-ui/core/Button ' ;
13+ import Fab from '@material-ui/core/Fab ' ;
1414import DeleteIcon from '@material-ui/icons/Delete' ;
1515
1616import WidgetPropTypes from '../../05_pages/NodeForm/WidgetPropTypes' ;
@@ -250,10 +250,9 @@ class FileUploadWidget extends React.Component {
250250 )
251251 }
252252 />
253- < Button
253+ < Fab
254254 mini
255255 id = { id }
256- variant = "fab"
257256 color = "secondary"
258257 className = "remove"
259258 aria-label = "Remove Image"
@@ -268,7 +267,7 @@ class FileUploadWidget extends React.Component {
268267 } }
269268 >
270269 < DeleteIcon />
271- </ Button >
270+ </ Fab >
272271 </ ListItem >
273272 { ! last && < Divider /> }
274273 </ Fragment >
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import Paper from '@material-ui/core/Paper';
1010import Input from '@material-ui/core/Input' ;
1111import InputLabel from '@material-ui/core/InputLabel' ;
1212import MenuItem from '@material-ui/core/MenuItem' ;
13+ import Fab from '@material-ui/core/Fab' ;
1314import FormControl from '@material-ui/core/FormControl' ;
1415import ListItemText from '@material-ui/core/ListItemText' ;
1516import Select from '@material-ui/core/Select' ;
@@ -310,16 +311,15 @@ class Content extends Component {
310311 </ Fragment >
311312 ) }
312313
313- < Button
314- variant = "fab"
314+ < Fab
315315 color = "primary"
316316 aria-label = "add"
317317 className = { styles . addButton }
318318 component = { Link }
319319 to = "/node/add"
320320 >
321321 < AddIcon />
322- </ Button >
322+ </ Fab >
323323 </ div >
324324 < ContentTable
325325 pageChangeHandler = { this . pageChangeHandler }
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import TableCell from '@material-ui/core/TableCell';
1414import TableHead from '@material-ui/core/TableHead' ;
1515import TableRow from '@material-ui/core/TableRow' ;
1616
17- import Button from '@material-ui/core/Button ' ;
17+ import Fab from '@material-ui/core/Fab ' ;
1818import AddIcon from '@material-ui/icons/Add' ;
1919
2020import FormControl from '@material-ui/core/FormControl' ;
@@ -119,16 +119,15 @@ export default class TaxonomyTermsOverview extends React.Component {
119119 </ TableBody >
120120 </ Table >
121121 </ Paper >
122- < Button
123- variant = "fab"
122+ < Fab
124123 color = "primary"
125124 aria-label = "add"
126125 className = { styles . addButton }
127126 component = { Link }
128127 to = { `/admin/structure/taxonomy/manage/${ this . props . vocabulary } /add` }
129128 >
130129 < AddIcon />
131- </ Button >
130+ </ Fab >
132131 </ Fragment >
133132 ) ;
134133 }
You can’t perform that action at this time.
0 commit comments