amp-user-notification を設定しようとしていますが、パディングが機能しません。右パディング
amp-user-notification {
min-height: 30px;
font-family: 'Roboto';
font-weight: 500;
line-height: 30px;
padding: 8px;
background: #46b6ac;
}
https://github.com/ampproject/amphtml/blob/master/examples/user-notification.amp.html
パディング: 8px; rgiht側では機能しません。親の amp-element が display: inline-block; の原因だと思います。
それを修正する方法は?
ありがとう!