mirror of
https://github.com/paricafe/misskey.git
synced 2025-03-22 16:59:24 -05:00
fix close notifications pop-up
This commit is contained in:
parent
fae03c5b61
commit
4b8abb174a
2 changed files with 6 additions and 0 deletions
packages/frontend/src
|
@ -187,6 +187,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<option value="rightTop"><i class="ti ti-align-box-right-top"></i> {{ i18n.ts.rightTop }}</option>
|
||||
<option value="leftBottom"><i class="ti ti-align-box-left-bottom"></i> {{ i18n.ts.leftBottom }}</option>
|
||||
<option value="rightBottom"><i class="ti ti-align-box-right-bottom"></i> {{ i18n.ts.rightBottom }}</option>
|
||||
<option value="close"><i class="ti ti-x"></i> {{ i18n.ts.close }}</option>
|
||||
</MkRadios>
|
||||
</MkPreferenceContainer>
|
||||
</SearchMarker>
|
||||
|
|
|
@ -21,6 +21,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
[$style.notificationsPosition_leftBottom]: prefer.s.notificationPosition === 'leftBottom',
|
||||
[$style.notificationsPosition_rightTop]: prefer.s.notificationPosition === 'rightTop',
|
||||
[$style.notificationsPosition_rightBottom]: prefer.s.notificationPosition === 'rightBottom',
|
||||
[$style.notificationsPosition_close]: prefer.s.notificationPosition === 'close',
|
||||
[$style.notificationsStackAxis_vertical]: prefer.s.notificationStackAxis === 'vertical',
|
||||
[$style.notificationsStackAxis_horizontal]: prefer.s.notificationStackAxis === 'horizontal',
|
||||
}]"
|
||||
|
@ -147,6 +148,10 @@ function getPointerEvents() {
|
|||
right: 0;
|
||||
}
|
||||
|
||||
&.notificationsPosition_close {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&.notificationsStackAxis_vertical {
|
||||
width: 250px;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue