diff --git a/CHANGELOG.md b/CHANGELOG.md index f9b43b4d..cd9977c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Fixed the minimum consumable quantity at 1 +- Fixed `credit.css` returning 404 by moving it to the `public/` directory ## [1.15.3] - 2026-04-29 diff --git a/public/css/credit.css b/public/css/credit.css new file mode 100644 index 00000000..e2d8625d --- /dev/null +++ b/public/css/credit.css @@ -0,0 +1,45 @@ +/** + * ------------------------------------------------------------------------- + * Credit plugin for GLPI + * ------------------------------------------------------------------------- + * + * LICENSE + * + * This file is part of Credit. + * + * Credit is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * Credit is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Credit. If not, see . + * ------------------------------------------------------------------------- + * @author François Legastelois + * @copyright Copyright (C) 2017-2023 by Credit plugin team. + * @license GPLv3 https://www.gnu.org/licenses/gpl-3.0.html + * @link https://github.com/pluginsGLPI/credit + * ------------------------------------------------------------------------- + */ + +.modal-dialog.modal-xl-credit { + max-width: 95vw; +} + +.modal-xl-credit iframe { + min-height: 80vh !important; +} + +.credit-consumed-details-table table { + min-width: 1100px; +} + +.credit-consumed-details-table th, +.credit-consumed-details-table td { + white-space: nowrap; +}