小编Aru*_*ekk的帖子

在Firefox中为<SELECT>删除CSS字体系列支持?

以下CSS曾用于我测试过的所有浏览器.它甚至还有一个选项来处理Firefox.

select,
option {
  font-family: "Lucida Console", Monaco, monospace;
}
Run Code Online (Sandbox Code Playgroud)

最新版本的Firefox不再适用于字体系列样式.以前版本的Firefox,以及我测试过的所有其他主要浏览器,都完全将字体系列设置应用于选择项和下拉列表中的项目 - 现在,它只会应用于选择框本身,但不会应用于下拉列表.

选择对字体具有部分支持的框(此处显示在Impact中). 请注意,项目未显示正确的字体.

Firefox仍然支持字体系列更改下拉列表吗?如果是这样,怎么样?

http://jsfiddle.net/uqt64rfr/

css firefox fonts drop-down-menu

12
推荐指数
3
解决办法
1626
查看次数

在 GitHub Actions 上通过 SSH 自连接

我找不到在 GH Actions 上使用正在运行的 SSH 服务器的方法。当我尝试127.0.0.1通过 ssh连接时,有一个服务器并响应,但不知何故忽略了.ssh(或无论如何)中的配置文件。

这是我使用的脚本(一般设置似乎不会影响结果):

ssh-keygen -t ed25519 -f ~/.ssh/whatever -N ''
cat > ~/.ssh/config <<EOF
Host host.example
    User $USER
    HostName 127.0.0.1
    IdentityFile ~/.ssh/whatever
EOF
echo -n 'from="127.0.0.1" ' | cat - ~/.ssh/whatever.pub > ~/.ssh/authorized_keys
ssh -o 'StrictHostKeyChecking no' host.example id
Run Code Online (Sandbox Code Playgroud)

我对结果不满意,因为我无法在本地重现日志(我拥有的每台机器都表现正常,即允许执行命令)。

Generating public/private ed25519 key pair.
Created directory '/home/runner/.ssh'.
Your identification has been saved in /home/runner/.ssh/whatever.
Your public key has been saved in /home/runner/.ssh/whatever.pub.
The key fingerprint is:
SHA256:2ZCprVg5rZXp0IguQlCanUVTlCX7IFt2TPTnimdk0gM runner@fv-az60
The key's …
Run Code Online (Sandbox Code Playgroud)

ssh github-actions

2
推荐指数
1
解决办法
553
查看次数

标签 统计

css ×1

drop-down-menu ×1

firefox ×1

fonts ×1

github-actions ×1

ssh ×1