提交 ba070c5e 作者: Wells Su 提交者: GitHub

Style(Preview): Modify the button to center vertically (#36)

上级 02d6a394
...@@ -72,12 +72,12 @@ ...@@ -72,12 +72,12 @@
background: rgba(109, 109, 109, 0.6); background: rgba(109, 109, 109, 0.6);
border-radius: 22px; border-radius: 22px;
justify-content: center; justify-content: center;
align-items: center;
&-item { &-item {
display: flex;
height: 100%;
padding: 0 9px; padding: 0 9px;
font-size: 24px; font-size: 24px;
line-height: 44px;
cursor: pointer; cursor: pointer;
transition: all 0.2s; transition: all 0.2s;
...@@ -94,11 +94,12 @@ ...@@ -94,11 +94,12 @@
&__arrow { &__arrow {
position: absolute; position: absolute;
top: 50%; top: 50%;
display: flex;
align-items: center;
justify-content: center;
width: 50px; width: 50px;
height: 50px; height: 50px;
font-size: 28px; font-size: 28px;
line-height: 50px;
text-align: center;
cursor: pointer; cursor: pointer;
background-color: rgba(0, 0, 0, 0.5); background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%; border-radius: 50%;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论