[MIRROR] Fixes announcements font scaling [MDB IGNORE] (#24357)

* Fixes announcements font scaling (#78995)

## About The Pull Request

Creates CSS spans for priority announcement and minor announcement so
they scale properly with the player's chosen font size

![image](https://github.com/tgstation/tgstation/assets/83487515/0706891d-05e9-4f00-b24f-ebf37efdd18d)

## Why It's Good For The Game

Fixes https://github.com/tgstation/tgstation/issues/78875

## Changelog

🆑 LT3
fix: Fixed font scaling for announcements
/🆑

* Fixes announcements font scaling

---------

Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-10-16 08:05:15 +02:00
committed by GitHub
parent 62016de83b
commit 2f90410e7a
6 changed files with 81 additions and 34 deletions

View File

@@ -300,7 +300,7 @@ SUBSYSTEM_DEF(ticker)
to_chat(world, span_notice("and..."))
for(var/holidayname in GLOB.holidays)
var/datum/holiday/holiday = GLOB.holidays[holidayname]
to_chat(world, "<h4>[holiday.greet()]</h4>")
to_chat(world, span_info(holiday.greet()))
PostSetup()