离子 - 改变项目内容的位置

时间:2017-10-05 08:44:56

标签: css angularjs typescript ionic-framework ionic3

我有item-content div看起来像这样:

enter image description here

我想将item-content放在左边:

enter image description here

问题:正确更改值的正确sass变量是什么?我怎样才能实现ion-item在标签长度上每个 <ion-list no-lines> <ion-item-sliding *ngFor="let event of events"> <ion-item (click)="showEvent(event)"> <ion-label> <h2>Projekt:</h2> <h2>Ort:</h2> <h2>Wetter:</h2> <h2>Wind:</h2> <h2>Temperatur:</h2> </ion-label> <div item-content> <h2>{{event.project}}</h2> <h2>{{event.place}}</h2> <h2>{{event.weatherMain}}, {{event.averageTemp}}°C</h2> <h2>{{event.windSpeed}} m/s</h2> <h2>{{event.averageTemp}}</h2> </div> </ion-item> <ion-item-options> <button ion-button icon-only color="primary" (click)="deleteEvent(event)"> <ion-icon name="trash"></ion-icon> </button> </ion-item-options> </ion-item-sliding> </ion-list> 中的 .scroll-content { background-color: #ecf0f1; display: flex !important; justify-content: center; } ion-list { width: 90%; } ion-item-sliding { margin-top: 20px; border-radius: 20px; } ion-item { border: none !important; font-weight: bold !important; } 以相同的方式对齐?

我的代码:

import express from 'express';
import graphqlHTTP from 'express-graphql';
import mongoose from 'mongoose';

import schema from './graphql';

var app = express();

app.use('/graphql', graphqlHTTP(req => ({
 schema,
 pretty: true,
 graphiql: true
})));

CSS:

mongoose.connect('mongodb://localhost/graphql');

1 个答案:

答案 0 :(得分:0)

您可以尝试更改以下sass变量

Sub stringcheck() Dim MainString As String Dim SubString As String Dim Lastrow As Long, Lcount As Long Dim i As Integer, j As Integer SubString = "All Grps" Lastrow = ThisWorkbook.Worksheets("SalesChannelName").Range("A30000").End(xlUp).Row For i = 3 To Lastrow MainString = Range("B" & i) If InStr(MainString, SubString) <> 0 Then Rows(Range("A" & i).Row + 1 & ":" & Range("A" & i).Row + 2).Insert End If Next i End Sub

它们设置为16px

$item-md-padding-end, $item-ios-padding-end