mirror of
https://github.com/flarum/framework.git
synced 2025-02-01 18:44:00 +08:00
Fix CustomFooterModal Appearance
The textarea in the CustomFooterModal was much larger than in the other appearance page modals, and did not use a monospaced font. Turns out the other 2 were explicitly specified in the less. This commit adds a class that can be applied to all these modals for simpler maintenance. Fixes https://github.com/flarum/core/issues/2865
This commit is contained in:
parent
c90f05cb94
commit
4436d82c36
|
@ -2,7 +2,7 @@ import SettingsModal from './SettingsModal';
|
|||
|
||||
export default class EditCustomCssModal extends SettingsModal {
|
||||
className() {
|
||||
return 'EditCustomCssModal Modal--large';
|
||||
return 'EditCustomCssModal TextareaCodeModal Modal--large';
|
||||
}
|
||||
|
||||
title() {
|
||||
|
|
|
@ -2,7 +2,7 @@ import SettingsModal from './SettingsModal';
|
|||
|
||||
export default class EditCustomFooterModal extends SettingsModal {
|
||||
className() {
|
||||
return 'EditCustomFooterModal Modal--large';
|
||||
return 'EditCustomFooterModal TextareaCodeModal Modal--large';
|
||||
}
|
||||
|
||||
title() {
|
||||
|
|
|
@ -2,7 +2,7 @@ import SettingsModal from './SettingsModal';
|
|||
|
||||
export default class EditCustomHeaderModal extends SettingsModal {
|
||||
className() {
|
||||
return 'EditCustomHeaderModal Modal--large';
|
||||
return 'EditCustomHeaderModal TextareaCodeModal Modal--large';
|
||||
}
|
||||
|
||||
title() {
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.EditCustomCssModal, .EditCustomHeaderModal {
|
||||
.TextareaCodeModal {
|
||||
textarea {
|
||||
font-family: monospace;
|
||||
line-height: 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user