File tree Expand file tree Collapse file tree 5 files changed +7
-8
lines changed
Expand file tree Collapse file tree 5 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 22<div role="main" aria-label="{{.Title}}" class="page-content dashboard feeds">
33 {{template "user/dashboard/navbar" .}}
44 <div class="ui container flex-container">
5- <div class="flex-container-main">
5+ <div class="flex-container-main activity-heatmap-container ">
66 {{template "base/alert" .}}
77 {{template "user/heatmap" .}}
88 {{if .Page.Paginater.TotalPages}}
Original file line number Diff line number Diff line change 55 <div class="ui four wide column">
66 {{template "shared/user/profile_big_avatar" .}}
77 </div>
8- <div class="ui twelve wide column tw-mb-4">
8+ <div class="ui twelve wide column tw-mb-4 activity-heatmap-container ">
99 {{template "user/overview/header" .}}
1010 {{if eq .TabName "activity"}}
1111 {{if .ContextUser.KeepActivityPrivate}}
Original file line number Diff line number Diff line change 44 position : relative;
55}
66
7+ .activity-heatmap-container {
8+ container : activity-heatmap-container / inline-size;
9+ }
10+
711@supports (container-type : inline-size) {
8- @container (width > 0) {
12+ @container activity-heatmap-container (width > 0) {
913 # user-heatmap {
1014 /* Set element to fixed height so that it does not resize after load. The calculation is complex
1115 because the element does not scale with a fixed aspect ratio. */
Original file line number Diff line number Diff line change 1919.flex-container-main {
2020 flex : 1 ;
2121 min-width : 0 ; /* make the "text truncate" work, otherwise the flex axis is not limited and the text just overflows */
22- container-type : inline-size;
2322}
2423
2524@media (max-width : 767.98px ) {
Original file line number Diff line number Diff line change 135135 }
136136}
137137
138- .ui .grid .column {
139- container-type : inline-size;
140- }
141-
142138.ui .grid > .column : only-child ,
143139.ui .grid > .row > .column : only-child {
144140 width : 100% ;
You can’t perform that action at this time.
0 commit comments