Improve calendar room column with building name display (v0.11.2)
All checks were successful
Create Release Package / build-release (push) Successful in 1m1s
All checks were successful
Create Release Package / build-release (push) Successful in 1m1s
- Widen room column to 200px with proper left alignment - Display building name as second row under room name - Change table-layout from fixed to auto for flexible columns Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -976,7 +976,7 @@
|
||||
.bnb-calendar-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
table-layout: fixed;
|
||||
table-layout: auto;
|
||||
}
|
||||
|
||||
.bnb-calendar-table th,
|
||||
@@ -997,7 +997,8 @@
|
||||
.bnb-calendar-table th.room-header {
|
||||
text-align: left;
|
||||
padding-left: 10px;
|
||||
min-width: 150px;
|
||||
width: 200px;
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
/* Calendar Day Cell */
|
||||
@@ -1068,16 +1069,31 @@
|
||||
}
|
||||
|
||||
/* Room Row in Multi-Room Calendar */
|
||||
.bnb-calendar-room {
|
||||
.bnb-calendar-table .bnb-calendar-room {
|
||||
font-weight: 600;
|
||||
text-align: left;
|
||||
padding: 8px 10px;
|
||||
background: #f6f7f7;
|
||||
min-width: 200px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.bnb-calendar-room small {
|
||||
.bnb-calendar-room a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.bnb-calendar-room .room-number {
|
||||
font-weight: normal;
|
||||
color: #646970;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.bnb-calendar-room .building-name {
|
||||
display: block;
|
||||
font-weight: normal;
|
||||
font-size: 12px;
|
||||
color: #646970;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
/* Calendar Legend */
|
||||
|
||||
Reference in New Issue
Block a user