Fix style of the "Notification Settings" button on small screen (#7309)

Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
This commit is contained in:
Yuriy Bakhtin 2024-12-21 11:12:08 +01:00 committed by GitHub
parent f25df1c4a4
commit 6165bce0a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 25 deletions

View File

@ -6,6 +6,7 @@ HumHub Changelog
---------------------------------
- Enh #7307: Improve request scheme detection
- Fix #7308: Fix Hungarian symbol error in `Open Sans` font
- Fix #7309: Fix style of the "Notification Settings" button on small screen
- Fix #7312: Auto refresh a page with violated script-src because of obsolete nonce
- Fix #7308: Fix Hungarian symbol error in `Open Sans` font
- Fix #454: Profile about page missing left and right margin on mobile screen

View File

@ -33,6 +33,7 @@ use yii\helpers\Html;
<?= Button::defaultType()
->icon('cog')
->link(['/notification/user'])
->loader(false)
->sm()
->tooltip(Yii::t('NotificationModule.base', 'Notification Settings')) ?>
</div>

View File

@ -144,23 +144,15 @@
margin: 2px !important;
}
.dropdown-menu > li a,
.nav-pills .dropdown-menu li a,
.nav-tabs .dropdown-menu li a,
.account .dropdown-menu li a,
.modal .dropdown-menu li a,
.panel .dropdown-menu li a,
.nav-tabs .dropdown-menu li a {
padding-top: 10px;
padding-bottom: 10px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.dropdown-menu {
max-width: 320px;
> li:not(.dropdown-header) a {
padding-top: 10px;
padding-bottom: 10px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
select.form-control:not([multiple]) {

View File

@ -4986,22 +4986,16 @@ a.label-warning:hover {
padding: 0 !important;
margin: 2px !important;
}
.dropdown-menu > li a,
.nav-pills .dropdown-menu li a,
.nav-tabs .dropdown-menu li a,
.account .dropdown-menu li a,
.modal .dropdown-menu li a,
.panel .dropdown-menu li a,
.nav-tabs .dropdown-menu li a {
.dropdown-menu {
max-width: 320px;
}
.dropdown-menu > li:not(.dropdown-header) a {
padding-top: 10px;
padding-bottom: 10px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.dropdown-menu {
max-width: 320px;
}
select.form-control:not([multiple]) {
padding-right: 23px;
width: auto;