+ 0" slot="start">{{badge}}
{{ label }}:
{{selection}}
diff --git a/src/core/directives/auto-focus.ts b/src/core/directives/auto-focus.ts
index 190f90d19..6aeb4d829 100644
--- a/src/core/directives/auto-focus.ts
+++ b/src/core/directives/auto-focus.ts
@@ -52,7 +52,7 @@ export class CoreAutoFocusDirective implements AfterViewInit {
/**
* Function to focus the element.
*
- * @param retries Internal param to stop retrying then 0.
+ * @param retries Internal param to stop retrying on 0.
*/
protected setFocus(retries = 10): void {
if (retries == 0) {
diff --git a/src/core/features/block/components/side-blocks/side-blocks.scss b/src/core/features/block/components/side-blocks/side-blocks.scss
new file mode 100644
index 000000000..fc2f730f2
--- /dev/null
+++ b/src/core/features/block/components/side-blocks/side-blocks.scss
@@ -0,0 +1,13 @@
+@import "~theme/globals";
+
+:host ::ng-deep core-block {
+ @include media-breakpoint-up(md) {
+ .ion-hide-md-down {
+ display: none !important;
+ }
+
+ .ion-hide-md-up {
+ display: block !important;
+ }
+ }
+}
diff --git a/src/core/features/block/components/side-blocks/side-blocks.ts b/src/core/features/block/components/side-blocks/side-blocks.ts
index eefc8f527..0f817a4a0 100644
--- a/src/core/features/block/components/side-blocks/side-blocks.ts
+++ b/src/core/features/block/components/side-blocks/side-blocks.ts
@@ -28,6 +28,7 @@ import { CoreCoursesDashboard } from '@features/courses/services/dashboard';
@Component({
selector: 'core-block-side-blocks',
templateUrl: 'side-blocks.html',
+ styleUrls: ['side-blocks.scss'],
})
export class CoreBlockSideBlocksComponent implements OnInit {
diff --git a/src/core/features/search/components/search-box/search-box.scss b/src/core/features/search/components/search-box/search-box.scss
index e3d84473a..4848d54b9 100644
--- a/src/core/features/search/components/search-box/search-box.scss
+++ b/src/core/features/search/components/search-box/search-box.scss
@@ -1,5 +1,5 @@
:host {
- height: 73px;
+ min-height: 61px;
display: block;
position: relative;
@@ -8,13 +8,12 @@
left: 0;
right: 0;
z-index: 4;
- margin-top: 10px;
- margin-bottom: 10px;
+ margin-top: 8px;
+ margin-bottom: 8px;
}
ion-button.button {
- margin-left: 0;
- margin-right: 0;
+ margin: 0;
}
.core-search-history {
@@ -37,4 +36,9 @@
padding-left: 0;
padding-right: 0;
}
+
+
+ ion-item {
+ --min-height: var(--a11y-min-target-size);
+ }
}
diff --git a/src/core/features/search/components/search-box/search-box.ts b/src/core/features/search/components/search-box/search-box.ts
index 5270c4f1b..275647525 100644
--- a/src/core/features/search/components/search-box/search-box.ts
+++ b/src/core/features/search/components/search-box/search-box.ts
@@ -41,8 +41,8 @@ export class CoreSearchBoxComponent implements OnInit {
@Input() searchLabel?: string; // Label to be used on action button.
@Input() placeholder?: string; // Placeholder text for search text input.
@Input() autocorrect = 'on'; // Enables/disable Autocorrection on search text input.
- @Input() spellcheck?: string | boolean = true; // Enables/disable Spellchecker on search text input.
- @Input() autoFocus?: string | boolean; // Enables/disable Autofocus when entering view.
+ @Input() spellcheck: string | boolean = true; // Enables/disable Spellchecker on search text input.
+ @Input() autoFocus: string | boolean = false; // Enables/disable Autofocus when entering view.
@Input() lengthCheck = 3; // Check value length before submit. If 0, any string will be submitted.
@Input() showClear = true; // Show/hide clear button.
@Input() disabled = false; // Disables the input text.
diff --git a/src/theme/theme.base.scss b/src/theme/theme.base.scss
index 45f9de0ab..c4c8a8d00 100644
--- a/src/theme/theme.base.scss
+++ b/src/theme/theme.base.scss
@@ -172,6 +172,7 @@ ion-app.ios ion-header h2 {
.item.ion-text-wrap ion-label core-format-text .core-format-text-content > *,
.fake-ion-item.ion-text-wrap core-format-text .core-format-text-content > * {
white-space: normal;
+ overflow: inherit;
}
.item.ion-text-wrap ion-label {