1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

removed old mentions of ace-container from ace-editor

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman 2021-10-18 15:15:57 +03:00
parent 1b680ee5a2
commit 6f8b9a6c97
2 changed files with 1 additions and 28 deletions

View File

@ -1,26 +0,0 @@
/**
* Copyright (c) 2021 OpenLens Authors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
.PodDetailsAffinities {
.ace-container {
height: 200px
}
}

View File

@ -19,7 +19,6 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
import "./pod-details-affinities.scss";
import React from "react";
import jsYaml from "js-yaml";
import { DrawerItem, DrawerParamToggler } from "../drawer";
@ -41,7 +40,7 @@ export class PodDetailsAffinities extends React.Component<Props> {
return (
<DrawerItem name="Affinities" className="PodDetailsAffinities">
<DrawerParamToggler label={affinitiesNum}>
<div className="ace-container">
<div style={{ height: 200 }}>
<MonacoEditor readOnly value={jsYaml.dump(affinities)}/>
</div>
</DrawerParamToggler>