File tree Expand file tree Collapse file tree 2 files changed +34
-18
lines changed
Expand file tree Collapse file tree 2 files changed +34
-18
lines changed Original file line number Diff line number Diff line change 22 * WordPress dependencies
33 */
44import { Page } from '@wordpress/admin-ui' ;
5- import { Button , Notice , Spinner , ToggleControl } from '@wordpress/components' ;
5+ import {
6+ Button ,
7+ ExternalLink ,
8+ Notice ,
9+ Spinner ,
10+ ToggleControl ,
11+ } from '@wordpress/components' ;
612import { store as coreStore } from '@wordpress/core-data' ;
713import { useSelect , useDispatch , useRegistry } from '@wordpress/data' ;
814import { DataForm } from '@wordpress/dataviews' ;
@@ -798,24 +804,14 @@ function AISettingsPage() {
798804 'ai'
799805 ) }
800806 actions = {
801- < >
802- < Button
803- variant = "secondary"
804- href = "https://github.com/WordPress/ai/tree/develop/docs"
805- target = "_blank"
806- rel = "noopener noreferrer"
807- >
807+ < div className = "ai-settings-page__actions" >
808+ < ExternalLink href = "https://github.com/WordPress/ai/tree/develop/docs" >
808809 { __ ( 'Docs' , 'ai' ) }
809- </ Button >
810- < Button
811- variant = "primary"
812- href = "https://github.com/WordPress/ai/blob/develop/CONTRIBUTING.md"
813- target = "_blank"
814- rel = "noopener noreferrer"
815- >
810+ </ ExternalLink >
811+ < ExternalLink href = "https://github.com/WordPress/ai/blob/develop/CONTRIBUTING.md" >
816812 { __ ( 'Contribute' , 'ai' ) }
817- </ Button >
818- </ >
813+ </ ExternalLink >
814+ </ div >
819815 }
820816 >
821817 < div className = "ai-settings-page" >
Original file line number Diff line number Diff line change 1010 }
1111
1212 .dataforms-layouts-card__field-header-label {
13- font-size : 0.9 rem ;
13+ font-size : 1 rem ;
1414 font-weight : 600 ;
1515 }
16+
17+ .dataforms-layouts-card__field-description {
18+ margin-bottom : 36px ;
19+ }
1620}
1721
1822.ai-settings-page .components-notice {
1923 margin : 0 0 24px ;
2024}
2125
26+ .ai-settings-page__actions {
27+ display : flex ;
28+ align-items : center ;
29+ gap : 16px ;
30+ }
31+
32+ .ai-settings-page__link {
33+ display : inline-flex ;
34+ align-items : center ;
35+ gap : 4px ;
36+
37+ svg {
38+ fill : currentColor ;
39+ }
40+ }
41+
2242.ai-feature-settings-form {
2343 margin-top : 4px ;
2444 padding-left : 40px ;
You can’t perform that action at this time.
0 commit comments