Skip to content

Commit

Permalink
Fix oppia#2620 : Fix exploration card height and deadzone (oppia#2971)
Browse files Browse the repository at this point in the history
* Remove deadzone and hardcoded height

* fix card's hardcoded height and deadzone

* restore card title margin

* fixing card title margin

* fix margin of title

* fix the noticable difference between title and objective
  • Loading branch information
nikhilsangwan007 authored and 526avijitgupta committed Jan 29, 2017
1 parent 20578ba commit 258645c
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions core/templates/dev/head/css/oppia.css
Original file line number Diff line number Diff line change
Expand Up @@ -3650,7 +3650,7 @@ md-card.preview-conversation-skin-supplemental-card {
background-color: #fff;
cursor: pointer;
display: inline-block;
height: 258px;
height: inherit;
/*
The margin setting is so that exploration summary tiles and collection
summary tiles would be the same widths (214px).
Expand Down Expand Up @@ -3718,7 +3718,7 @@ md-card.preview-conversation-skin-supplemental-card {
}

.oppia-activity-summary-tile .title-section {
height: 162px;
height: 10em;
position: relative;
width: 100%;
}
Expand Down Expand Up @@ -3835,9 +3835,10 @@ md-card.preview-conversation-skin-supplemental-card {
font-size: 1em;
font-weight: normal;
line-height: 1.2em;
margin: 12px;
padding: 0;
margin: 0.3em 0.5em;
padding: 0.2em;
position: absolute;
word-break: break-all;
}

.oppia-activity-summary-tile .objective {
Expand Down Expand Up @@ -3887,7 +3888,7 @@ md-card.preview-conversation-skin-supplemental-card {

.oppia-dashboard-statistics-card-link {
background: white;
height: 88px;
height: 25.5%;
opacity: 0;
position: absolute;
width: 184px;
Expand Down Expand Up @@ -3925,7 +3926,7 @@ md-card.preview-conversation-skin-supplemental-card {
}

.oppia-dashboard-card-view-item {
height: 250px;
height: inherit;
margin-left: 7.5px;
margin-right: 7.5px;
position: static;
Expand All @@ -3940,7 +3941,8 @@ md-card.preview-conversation-skin-supplemental-card {

.oppia-dashboard-card-view-item .exp-private-text {
font-size: 13px;
margin: 13px 11px 0;
margin: 0 0.5em;
padding: 0.2em;
}

.oppia-dashboard-card-view-item .metrics {
Expand Down

0 comments on commit 258645c

Please sign in to comment.