@@ -25,46 +25,46 @@ function experimentsForm ({
25
25
26
26
return html `
27
27
< form >
28
- < fieldset class ="mb3 pa4 bg-snow-muted charcoal ">
29
- < h2 class ="ttu tracked f6 fw4 teal mt0 mb3 "> ${ browser . i18n . getMessage ( 'option_header_experiments' ) } </ h2 >
28
+ < fieldset class ="mb3 pa1 pa4-ns pa3 bg-snow-muted charcoal ">
29
+ < h2 class ="ttu tracked f6 fw4 teal mt0-ns mb3-ns mb1 mt2 "> ${ browser . i18n . getMessage ( 'option_header_experiments' ) } </ h2 >
30
30
< div class ="mb2 "> ${ browser . i18n . getMessage ( 'option_experiments_warning' ) } </ div >
31
- < div >
31
+ < div class =" flex-row-ns pb0-ns " >
32
32
< label for ="displayNotifications ">
33
33
< dl >
34
34
< dt > ${ browser . i18n . getMessage ( 'option_displayNotifications_title' ) } </ dt >
35
35
< dd > ${ browser . i18n . getMessage ( 'option_displayNotifications_description' ) } </ dd >
36
36
</ dl >
37
37
</ label >
38
- < div > ${ switchToggle ( { id : 'displayNotifications' , checked : displayNotifications , onchange : onDisplayNotificationsChange } ) } </ div >
38
+ < div class =" self-center-ns " > ${ switchToggle ( { id : 'displayNotifications' , checked : displayNotifications , onchange : onDisplayNotificationsChange } ) } </ div >
39
39
</ div >
40
- < div >
40
+ < div class =" flex-row-ns pb0-ns " >
41
41
< label for ="catchUnhandledProtocols ">
42
42
< dl >
43
43
< dt > ${ browser . i18n . getMessage ( 'option_catchUnhandledProtocols_title' ) } </ dt >
44
44
< dd > ${ browser . i18n . getMessage ( 'option_catchUnhandledProtocols_description' ) } </ dd >
45
45
</ dl >
46
46
</ label >
47
- < div > ${ switchToggle ( { id : 'catchUnhandledProtocols' , checked : catchUnhandledProtocols , onchange : onCatchUnhandledProtocolsChange } ) } </ div >
47
+ < div class =" self-center-ns " > ${ switchToggle ( { id : 'catchUnhandledProtocols' , checked : catchUnhandledProtocols , onchange : onCatchUnhandledProtocolsChange } ) } </ div >
48
48
</ div >
49
- < div >
49
+ < div class =" flex-row-ns pb0-ns " >
50
50
< label for ="recoverFailedHttpRequests ">
51
51
< dl >
52
52
< dt > ${ browser . i18n . getMessage ( 'option_recoverFailedHttpRequests_title' ) } </ dt >
53
53
< dd > ${ browser . i18n . getMessage ( 'option_recoverFailedHttpRequests_description' ) } </ dd >
54
54
</ dl >
55
55
</ label >
56
- < div > ${ switchToggle ( { id : 'recoverFailedHttpRequests' , checked : recoverFailedHttpRequests , onchange : onrecoverFailedHttpRequestsChange } ) } </ div >
56
+ < div class =" self-center-ns " > ${ switchToggle ( { id : 'recoverFailedHttpRequests' , checked : recoverFailedHttpRequests , onchange : onrecoverFailedHttpRequestsChange } ) } </ div >
57
57
</ div >
58
- < div >
58
+ < div class =" flex-row-ns pb0-ns " >
59
59
< label for ="linkify ">
60
60
< dl >
61
61
< dt > ${ browser . i18n . getMessage ( 'option_linkify_title' ) } </ dt >
62
62
< dd > ${ browser . i18n . getMessage ( 'option_linkify_description' ) } </ dd >
63
63
</ dl >
64
64
</ label >
65
- < div > ${ switchToggle ( { id : 'linkify' , checked : linkify , onchange : onLinkifyChange } ) } </ div >
65
+ < div class =" self-center-ns " > ${ switchToggle ( { id : 'linkify' , checked : linkify , onchange : onLinkifyChange } ) } </ div >
66
66
</ div >
67
- < div >
67
+ < div class =" flex-row-ns pb0-ns " >
68
68
< label for ="detectIpfsPathHeader ">
69
69
< dl >
70
70
< dt > ${ browser . i18n . getMessage ( 'option_detectIpfsPathHeader_title' ) } </ dt >
@@ -75,9 +75,9 @@ function experimentsForm ({
75
75
</ dd >
76
76
</ dl >
77
77
</ label >
78
- < div > ${ switchToggle ( { id : 'detectIpfsPathHeader' , checked : detectIpfsPathHeader , onchange : onDetectIpfsPathHeaderChange } ) } </ div >
78
+ < div class =" self-center-ns " > ${ switchToggle ( { id : 'detectIpfsPathHeader' , checked : detectIpfsPathHeader , onchange : onDetectIpfsPathHeaderChange } ) } </ div >
79
79
</ div >
80
- < div class ="o-50 ">
80
+ < div class ="flex-row-ns pb0-ns o-50 ">
81
81
< label for ="ipfsProxy ">
82
82
< dl >
83
83
< dt > ${ browser . i18n . getMessage ( 'option_ipfsProxy_title' ) } </ dt >
@@ -97,31 +97,31 @@ function experimentsForm ({
97
97
</ dd >
98
98
</ dl >
99
99
</ label >
100
- < div > ${ switchToggle ( { id : 'ipfsProxy' , checked : ipfsProxy , disabled : true , onchange : onIpfsProxyChange } ) } </ div >
100
+ < div class =" self-center-ns " > ${ switchToggle ( { id : 'ipfsProxy' , checked : ipfsProxy , disabled : true , onchange : onIpfsProxyChange } ) } </ div >
101
101
</ div >
102
- < div >
102
+ < div class =" flex-row-ns pb0-ns " >
103
103
< label for ="logNamespaces ">
104
104
< dl >
105
105
< dt > ${ browser . i18n . getMessage ( 'option_logNamespaces_title' ) } </ dt >
106
106
< dd > ${ browser . i18n . getMessage ( 'option_logNamespaces_description' ) } </ dd >
107
107
</ dl >
108
108
</ label >
109
109
< input
110
- class ="bg-white navy "
110
+ class ="bg-white navy self-center-ns "
111
111
id ="logNamespaces "
112
112
type ="text "
113
113
required
114
114
onchange =${ onOptionChange ( 'logNamespaces' ) }
115
115
value =${ logNamespaces } />
116
116
</ div >
117
- < div >
117
+ < div class =" flex-row-ns pb0-ns " >
118
118
< label for ="resetAllOptions ">
119
119
< dl >
120
120
< dt > ${ browser . i18n . getMessage ( 'option_resetAllOptions_title' ) } </ dt >
121
121
< dd > ${ browser . i18n . getMessage ( 'option_resetAllOptions_description' ) } </ dd >
122
122
</ dl >
123
123
</ label >
124
- < div > < button id ="resetAllOptions " class ="Button transition-all sans-serif v-mid fw5 nowrap lh-copy bn br1 pa2 pointer focus-outline white bg-red white " onclick =${ onOptionsReset } > ${ browser . i18n . getMessage ( 'option_resetAllOptions_title' ) } </ button > </ div >
124
+ < div class =" self-center-ns " > < button id ="resetAllOptions " class ="Button transition-all sans-serif v-mid fw5 nowrap lh-copy bn br1 pa2 pointer focus-outline white bg-red white " onclick =${ onOptionsReset } > ${ browser . i18n . getMessage ( 'option_resetAllOptions_title' ) } </ button > </ div >
125
125
</ div >
126
126
</ fieldset >
127
127
</ form >
0 commit comments