diff --git a/css/style.css b/css/style.css index 4f61b1f..06610b8 100644 --- a/css/style.css +++ b/css/style.css @@ -69,7 +69,7 @@ footer { background: #333; } -.row.feature-list-item { +.feature-list-item { padding: 0.5rem; cursor: pointer; background: #333; @@ -85,5 +85,5 @@ footer { } #active-feature-detail { - display: inherit; + display: block; } \ No newline at end of file diff --git a/features.html b/features.html index f4a48ec..004c118 100644 --- a/features.html +++ b/features.html @@ -133,6 +133,7 @@
+
@@ -144,27 +145,19 @@
-
-
+
-
- Pick Up and Play -
+ Pick Up and Play
-
-
- Quick Resume -
+
+ Quick Resume
-
-
- Rewind & Fast Forward -
+
+ Rewind & Fast Forward
-
-
- Configurator -
+
+ Configurator
diff --git a/scripts/features.js b/scripts/features.js index 8c17366..fe791a5 100644 --- a/scripts/features.js +++ b/scripts/features.js @@ -11,7 +11,7 @@ for (let i = 0; i < featureTitles.length; i++) { // We need to remove the gradient so that linearBackground is hidden if (featureTitles[i].id != 'active-feature-item') { - featureTitles[i].className = 'row feature-list-item rounded-3 m-0'; + featureTitles[i].className = 'col feature-list-item rounded-3 m-0'; } } @@ -26,7 +26,7 @@ function updateActiveFeature(i) { // Reset previous current feature featureTitles[lastCurrentFeature].removeAttribute('id'); - featureTitles[lastCurrentFeature].className = 'row feature-list-item rounded-3 m-0'; + featureTitles[lastCurrentFeature].className = 'col feature-list-item rounded-3 m-0'; featureTitles[lastCurrentFeature].style = ''; featureDetails[lastCurrentFeature].removeAttribute('id');