Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

MUMMNG-2017: Support Manager time and approval as a list-of-links widget #352

Merged
merged 1 commit into from
Nov 13, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion angularjs-portal-home/src/main/webapp/css/widget.less
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ weather {
.lol {
.v-center {
position:relative;
top:50px;
top:40px;
}
.link-icon {
font-weight:600;
Expand All @@ -97,4 +97,8 @@ weather {
height:95px;
padding:0px !important;
}
.additional-text {
position:relative;
top:70px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<div class='col-xs-6 v-center center' ng-repeat='item in config.links'>
<circle-button data-href='{{item.href}}' data-target='{{item.target}}' data-fa-icon='{{item.icon}}' data-disabled='false' data-title='{{item.title}}'></circle-button>
</div>
<p class="bold center additional-text">{{config.additionalText}}</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it help for this template to truncate the config.additionalText so that if an instance of this widget type is configured with a too-long additionalText it won't overflow its card?

</div>
<div ng-show="config.links.length == 3">
<div ng-repeat="item in config.links">
Expand Down