订阅表单的自动更新开关靠右
原来 align-self: center 悬在值列中间,哪条对齐线都不沾;靠右后和 输入框右缘同线,也是设置页「标签左、控件右」的行模式。
This commit is contained in:
@@ -303,7 +303,8 @@ input {
|
|||||||
|
|
||||||
/* 开关。align-self 抵消 row 的 baseline 对齐,胶囊不该被拉到文字基线上 */
|
/* 开关。align-self 抵消 row 的 baseline 对齐,胶囊不该被拉到文字基线上 */
|
||||||
.sw {
|
.sw {
|
||||||
align-self: center;
|
/* 靠右:和输入框的右缘同一条线,也是设置页「标签左、控件右」的行模式 */
|
||||||
|
align-self: flex-end;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
|
|||||||
Reference in New Issue
Block a user