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

Fix styling on cluster roles and bindings (#3434)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-07-20 00:40:02 -04:00 committed by GitHub
parent c590bccffa
commit c4aeaf5bb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View File

@ -19,5 +19,5 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
.RoleBindingDetails {
}
.ClusterRoleBindingDetails {
}

View File

@ -81,7 +81,7 @@ export class ClusterRoleBindingDetails extends React.Component<Props> {
const subjects = clusterRoleBinding.getSubjects();
return (
<div className="RoleBindingDetails">
<div className="ClusterRoleBindingDetails">
<KubeObjectMeta object={clusterRoleBinding} />
<DrawerTitle title="Reference" />

View File

@ -19,8 +19,8 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
.AddRoleDialog {
.AddClusterRoleDialog {
.AceEditor {
min-height: 200px;
}
}
}

View File

@ -76,12 +76,12 @@ export class AddClusterRoleDialog extends React.Component<Props> {
return (
<Dialog
{...dialogProps}
className="AddRoleDialog"
className="AddClusterRoleDialog"
isOpen={AddClusterRoleDialog.isOpen.get()}
close={AddClusterRoleDialog.close}
>
<Wizard
header={<h5>Create ClusterRole</h5>}
<Wizard
header={<h5>Create ClusterRole</h5>}
done={AddClusterRoleDialog.close}
>
<WizardStep

View File

@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
.RoleDetails {
.ClusterRoleDetails {
.rule {
display: grid;
grid-template-columns: min-content auto;
@ -39,4 +39,4 @@
margin-bottom: $margin * 2;
}
}
}
}