diff --git a/main.css b/main.css index f04f74f..ec3de74 100644 --- a/main.css +++ b/main.css @@ -1,4 +1,3 @@ -/* Theming taken from https://github.com/vector-im/riot-web/blob/cf5cf02529f95a094d88051c12fdb87a03d87335/src/skins/vector/css/themes/_base.scss */ .room { margin-left: 2em; } @@ -25,3 +24,18 @@ img.roomAvatar { height: 36px; margin: 0.5em; } + +.topic { + font-size: smaller; + color: DarkSlateGrey; + margin-left: 2em; + + width: 40em; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.topic:hover { + overflow: visible; +} diff --git a/spaces.html b/spaces.html index b33b441..ae47418 100644 --- a/spaces.html +++ b/spaces.html @@ -43,6 +43,10 @@ % endif + + % if 'topic' in room: +

${room['topic']}

+ % endif % endif % if room['name'] != "TOP" and room['name'] != "Libre Gaming" and 'children' in room: