Skip to content

Commit 5c1db61

Browse files
committed
docs: change min-height to height
closes #419
1 parent b72622a commit 5c1db61

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/get-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ app.mount("#app");
8686
<script setup lang="ts"></script>
8787
8888
<template>
89-
<ol-map style="min-width: 400px; min-height: 400px;">// [!code focus:6]
89+
<ol-map style="min-width: 400px; height: 400px;">// [!code focus:6]
9090
<ol-view :center="[40, 40]" :zoom="5" projection="EPSG:4326" />
9191
<ol-tile-layer>
9292
<ol-source-osm />
@@ -109,7 +109,7 @@ import { Map, Layers, Sources } from "vue3-openlayers";
109109
</script>
110110
111111
<template>
112-
<Map.OlMap style="min-width: 400px; min-height: 400px;">
112+
<Map.OlMap style="min-width: 400px; height: 400px;">
113113
<Map.OlView :center="[40, 40]" :zoom="5" projection="EPSG:4326" />
114114
<Layers.OlTileLayer>
115115
<Sources.OlSourceOsm />
@@ -145,7 +145,7 @@ You can also specifically render the map only at client side, by putting inside
145145
```vue
146146
<template>
147147
<ClientOnly>
148-
<Map.OlMap style="min-width: 400px; min-height: 400px;">
148+
<Map.OlMap style="min-width: 400px; height: 400px;">
149149
<Map.OlView :center="[40, 40]" :zoom="5" projection="EPSG:4326"/>
150150
<Layers.OlTileLayer>
151151
<Sources.OlSourceOsm/>
@@ -230,7 +230,7 @@ provide("ol-options", options);
230230
</script>
231231
232232
<template>
233-
<Map.OlMap style="min-width: 400px; min-height: 400px">
233+
<Map.OlMap style="min-width: 400px; height: 400px">
234234
<Map.OlView :center="[40, 40]" :zoom="5" projection="EPSG:4326" />
235235
<Layers.OlTileLayer>
236236
<Sources.OlSourceOsm />

0 commit comments

Comments
 (0)