styling changes have been made o remove the overlaping of focus outlines (#1721)

This commit is contained in:
MokireddySampath 2024-03-06 12:47:57 +05:30 committed by GitHub
parent b8457e3bf9
commit 47bdc9c426
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 2 deletions

View File

@ -14,7 +14,13 @@
.throughputInputSpacing > :not(:last-child) {
margin-bottom: @DefaultSpace;
}
.capacitycalculator-link:focus{
.capacitycalculator-link:focus {
text-decoration: underline;
outline-offset: 2px;
}
}
.copyQuery:focus::after,
.deleteQuery:focus::after {
outline: none !important;
}

View File

@ -618,6 +618,7 @@ export const QueryCopilotPromptbar: React.FC<QueryCopilotPromptProps> = ({
<Separator vertical style={{ color: "#EDEBE9" }} />
<CommandBarButton
className="copyQuery"
onClick={copyGeneratedCode}
iconProps={{ iconName: "Copy" }}
style={{ margin: "0 10px", backgroundColor: "#FFF8F0", transition: "background-color 0.3s ease" }}
@ -625,6 +626,7 @@ export const QueryCopilotPromptbar: React.FC<QueryCopilotPromptProps> = ({
Copy query
</CommandBarButton>
<CommandBarButton
className="deleteQuery"
onClick={() => {
setShowDeletePopup(true);
}}