Make buttons half-wide on home screen (desktop mode)
having a button take up full screen width is a bit much
This commit is contained in:
parent
5d079e1208
commit
b983a34bc9
1 changed files with 32 additions and 26 deletions
|
@ -123,34 +123,40 @@ export default {
|
||||||
</o-button>
|
</o-button>
|
||||||
</o-field>
|
</o-field>
|
||||||
|
|
||||||
<div v-for="location in locationStore.locations"
|
<div class="columns">
|
||||||
:key="location.coordinates"
|
<div class="column is-half">
|
||||||
class="location">
|
|
||||||
<o-button variant="primary"
|
|
||||||
icon-right="arrow-right"
|
|
||||||
expanded
|
|
||||||
@click="showWeather(location)">
|
|
||||||
{{ location.cityState }}
|
|
||||||
</o-button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div v-if="locationStore.locations.length"
|
<div v-for="location in locationStore.locations"
|
||||||
class="location">
|
:key="location.coordinates"
|
||||||
<o-button icon-right="edit"
|
class="location">
|
||||||
expanded
|
<o-button variant="primary"
|
||||||
@click="editLocations()">
|
icon-right="arrow-right"
|
||||||
Edit List
|
expanded
|
||||||
</o-button>
|
@click="showWeather(location)">
|
||||||
</div>
|
{{ location.cityState }}
|
||||||
|
</o-button>
|
||||||
|
</div>
|
||||||
|
|
||||||
<br />
|
<div v-if="locationStore.locations.length"
|
||||||
<div class="location">
|
class="location">
|
||||||
<o-button variant="primary"
|
<o-button icon-right="edit"
|
||||||
icon-right="location-dot"
|
expanded
|
||||||
expanded
|
@click="editLocations()">
|
||||||
@click="useCurrentLocation()">
|
Edit List
|
||||||
Use My Current Location
|
</o-button>
|
||||||
</o-button>
|
</div>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<div class="location">
|
||||||
|
<o-button variant="primary"
|
||||||
|
icon-right="location-dot"
|
||||||
|
expanded
|
||||||
|
@click="useCurrentLocation()">
|
||||||
|
Use My Current Location
|
||||||
|
</o-button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue