GibbonEdu / core

Gibbon is a flexible, open source school management platform designed to make life better for teachers, students, parents and leaders.
https://gibbonedu.org
GNU General Public License v3.0
462 stars 300 forks source link

Markbook Average Display #1716

Closed jcarney2024 closed 1 year ago

jcarney2024 commented 1 year ago

Describe the Bug

The "Class Average" box is incorrectly formatted when there are no marks yet entered. The Class Average text gets cut off, because it's too short.

To Reproduce

  1. Go to Learn -> Markbook
  2. Select a class without any Columns / entered marks
  3. See the ‘Class Average’ box incorrectly formatted

Expected behavior

I would expect the box to fit correctly around the ‘Class Average’ box, without it getting cut off.

Actual behavior

The box is cutting off the text. It’s not long enough.

Screenshots

B2D19E85-CE5C-455C-ABD4-80C5FBB096EB

Gibbon version

v26.0.00

Browser

Chrome

Browser Version

CHROME VERSION: 110.0.5481.78 on Windows 10 Enterprise

Additional Context

No response

SKuipers commented 1 year ago

Thanks @jcarney2024, fixed in v26: https://github.com/GibbonEdu/core/commit/6e42f28f66f73de815d388e20d0b923385b735d3 👍