mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 18:19:58 +00:00
Add recommended option badge
This commit is contained in:
@@ -374,6 +374,11 @@
|
|||||||
, "description": "Mirroring app ID option description."
|
, "description": "Mirroring app ID option description."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
, "optionsOptionRecommended": {
|
||||||
|
"message": "recommended"
|
||||||
|
, "description": "Badge next to option label indicating boolean option is recommended enabled."
|
||||||
|
}
|
||||||
|
|
||||||
, "optionsReset": {
|
, "optionsReset": {
|
||||||
"message": "Restore Defaults"
|
"message": "Restore Defaults"
|
||||||
, "description": "Restore default options button label."
|
, "description": "Restore default options button label."
|
||||||
|
|||||||
@@ -380,6 +380,9 @@ class OptionsApp extends Component<{}, OptionsAppState> {
|
|||||||
</div>
|
</div>
|
||||||
<div className="option__label">
|
<div className="option__label">
|
||||||
{ _("optionsUserAgentWhitelistEnabled") }
|
{ _("optionsUserAgentWhitelistEnabled") }
|
||||||
|
<span className="option__recommended">
|
||||||
|
{ _("optionsOptionRecommended") }
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
|||||||
@@ -294,6 +294,15 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.option__recommended {
|
||||||
|
background-color: var(--blue-60);
|
||||||
|
border-radius: 2px;
|
||||||
|
color: white;
|
||||||
|
font-size: smaller;
|
||||||
|
margin-inline-start: 5px;
|
||||||
|
padding: 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.option__description {
|
.option__description {
|
||||||
color: var(--secondary-color);
|
color: var(--secondary-color);
|
||||||
font-size: smaller;
|
font-size: smaller;
|
||||||
|
|||||||
Reference in New Issue
Block a user