Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AF-2462: Minor fixes on the project sample card #3259

Merged
merged 2 commits into from
Apr 9, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
-->

<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
<div class="card-pf card-pf-view card-pf-view-select card-pf-view-single-select" data-field="card">
<div class="tile-view card-pf card-pf-view card-pf-view-select card-pf-view-single-select" data-field="card">
<div class="card-pf-body">
<div class="card-pf-body-title">
<h2 class="card-pf-title" data-field="label"></h2>
<h5 class="" data-field="description"></h5>
<h5 data-field="description"></h5>
</div>
<div class="right">
<span class="card-pf-icon-circle" data-field="circle"></span>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

.tile-view {
.card-pf-body {
h5 {
width: 100% !important;
}
}
.card-pf-title {
line-height: 25px;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<h2 class="card-pf-title" data-field="name"></h2>
<span class="fa fa-code-fork" data-field="branch-selector"></span>
</div>
<h5 class="" data-field="description"></h5>
<h5 data-field="description"></h5>
<p id="errors" class="card-pf-aggregate-status-notifications">
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@

.card-pf-body {
display: block !important;

h5 {
width: 100% !important;
}
}

.card-pf-title {
line-height: 25px;
}

.card-pf-aggregate-status-notifications {
Expand Down