add required indicator (#22971)

This commit is contained in:
Alan Ren
2023-05-04 15:23:22 -07:00
committed by GitHub
parent 94745a69f5
commit 86cd0003fe
4 changed files with 34 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import 'vs/css!./media/label';
export const RequiredIndicatorClassName = 'required-indicator';

View File

@@ -0,0 +1,10 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.required-indicator:after {
content: '*';
color: red;
margin-left: 2px;
}