禁則処理を厳しく

投稿日:

 このブログの禁則処理が気に入らない。「読書」の記事に「マチルデ・デンボースキー」と人名を書いたら、長音(-)が行頭に来てしまう。

 そこで、子テーマの「style.css」の中に、「line-break: strict;」を書き加える。

 具体的には、「wp-content/themes/twentysixteen_child/style.css」の次のところに、下線赤字のように書き加えた。

body,
button,
input,
select,
textarea {
	color: #1a1a1a;
	font-family: 'MS 明朝', 'serif';
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.75;
	line-break: strict;
}