mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Fix linting
This commit is contained in:
parent
c286b556f2
commit
633f4de93a
@ -20,7 +20,7 @@
|
||||
{{ $t('login.hello') }}
|
||||
<b>{{ userName }}</b>
|
||||
<template v-if="user.role !== 'user'">
|
||||
<ds-text color="softer" size="small" style="margin-bottom: 0;">
|
||||
<ds-text color="softer" size="small" style="margin-bottom: 0">
|
||||
{{ user.role | camelCase }}
|
||||
</ds-text>
|
||||
</template>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
:src="iconPath"
|
||||
width="80"
|
||||
class="hc-empty-icon"
|
||||
style="margin-bottom: 5px;"
|
||||
style="margin-bottom: 5px"
|
||||
alt="Empty"
|
||||
/>
|
||||
<br />
|
||||
|
||||
@ -107,7 +107,7 @@
|
||||
></label>
|
||||
</ds-text>
|
||||
<base-button
|
||||
style="float: right;"
|
||||
style="float: right"
|
||||
icon="check"
|
||||
type="submit"
|
||||
filled
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
/>
|
||||
<ds-space margin-bottom="xx-small" />
|
||||
<ds-text color="soft" class="shout-button-text">
|
||||
<ds-heading style="display: inline;" tag="h3">{{ shoutedCount }}x</ds-heading>
|
||||
<ds-heading style="display: inline" tag="h3">{{ shoutedCount }}x</ds-heading>
|
||||
{{ $t('shoutButton.shouted') }}
|
||||
</ds-text>
|
||||
</ds-space>
|
||||
|
||||
@ -1,22 +1,22 @@
|
||||
<template>
|
||||
<div class="layout-blank">
|
||||
<div class="main-navigation">
|
||||
<ds-container width="x-large" class="main-navigation-container" style="padding: 10px 10px;">
|
||||
<ds-container width="x-large" class="main-navigation-container" style="padding: 10px 10px">
|
||||
<ds-flex class="main-navigation-flex" centered>
|
||||
<ds-flex-item width="5.5%" />
|
||||
<ds-flex-item style="flex-grow: 1;" width="20%">
|
||||
<ds-flex-item style="flex-grow: 1" width="20%">
|
||||
<a @click="redirectToRoot">
|
||||
<logo />
|
||||
</a>
|
||||
</ds-flex-item>
|
||||
<ds-flex-item width="20%" style="flex-grow: 0;">
|
||||
<ds-flex-item width="20%" style="flex-grow: 0">
|
||||
<locale-switch class="topbar-locale-switch" placement="top" offset="16" />
|
||||
</ds-flex-item>
|
||||
</ds-flex>
|
||||
</ds-container>
|
||||
</div>
|
||||
<ds-container>
|
||||
<div style="padding: 5rem 2rem;">
|
||||
<div style="padding: 5rem 2rem">
|
||||
<nuxt />
|
||||
</div>
|
||||
</ds-container>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="layout-blank">
|
||||
<ds-container>
|
||||
<div style="padding: 5rem 2rem;">
|
||||
<div style="padding: 5rem 2rem">
|
||||
<nuxt />
|
||||
</div>
|
||||
</ds-container>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="layout-default">
|
||||
<div class="main-navigation">
|
||||
<ds-container class="main-navigation-container" style="padding: 10px 10px;">
|
||||
<ds-container class="main-navigation-container" style="padding: 10px 10px">
|
||||
<div>
|
||||
<ds-flex class="main-navigation-flex">
|
||||
<ds-flex-item :width="{ base: '142px' }">
|
||||
@ -18,7 +18,7 @@
|
||||
<ds-flex-item
|
||||
:width="{ base: '45%', sm: '45%', md: '45%', lg: '50%' }"
|
||||
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
||||
style="flex-shrink: 0; flex-grow: 1;"
|
||||
style="flex-shrink: 0; flex-grow: 1"
|
||||
id="nav-search-box"
|
||||
v-if="isLoggedIn"
|
||||
>
|
||||
@ -27,14 +27,14 @@
|
||||
<ds-flex-item
|
||||
v-if="isLoggedIn"
|
||||
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
||||
style="flex-grow: 0; flex-basis: auto;"
|
||||
style="flex-grow: 0; flex-basis: auto"
|
||||
>
|
||||
<client-only>
|
||||
<filter-menu v-show="showFilterMenuDropdown" />
|
||||
</client-only>
|
||||
</ds-flex-item>
|
||||
<ds-flex-item
|
||||
style="background-color: white; flex-basis: auto;"
|
||||
style="background-color: white; flex-basis: auto"
|
||||
:class="{ 'hide-mobile-menu': !toggleMobileMenu }"
|
||||
>
|
||||
<div
|
||||
@ -43,7 +43,7 @@
|
||||
'desktop-view': !toggleMobileMenu,
|
||||
'hide-mobile-menu': !toggleMobileMenu,
|
||||
}"
|
||||
style="flex-basis: auto;"
|
||||
style="flex-basis: auto"
|
||||
>
|
||||
<locale-switch class="topbar-locale-switch" placement="top" offset="8" />
|
||||
<template v-if="isLoggedIn">
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="layout-blank">
|
||||
<ds-container>
|
||||
<div style="padding: 5rem 2rem;">
|
||||
<div style="padding: 5rem 2rem">
|
||||
<nuxt />
|
||||
</div>
|
||||
</ds-container>
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
<ds-container width="small">
|
||||
<ds-flex>
|
||||
<ds-flex-item :width="{ base: '100%' }" centered>
|
||||
<ds-space style="text-align: center;" margin-top="large" margin-bottom="xxx-small" centered>
|
||||
<img style="width: 200px;" alt="Logging out" src="/img/custom/logout.svg" />
|
||||
<ds-space style="text-align: center" margin-top="large" margin-bottom="xxx-small" centered>
|
||||
<img style="width: 200px" alt="Logging out" src="/img/custom/logout.svg" />
|
||||
</ds-space>
|
||||
<ds-space style="text-align: center;" margin-top="small" margin-bottom="xxx-small" centered>
|
||||
<ds-space style="text-align: center" margin-top="small" margin-bottom="xxx-small" centered>
|
||||
<ds-heading tag="h3" soft>Logging out...</ds-heading>
|
||||
</ds-space>
|
||||
</ds-flex-item>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<ds-flex-item :width="{ base: '100%', sm: 2, md: 2, lg: 1 }">
|
||||
<base-card
|
||||
:class="{ 'disabled-content': user.disabled }"
|
||||
style="position: relative; height: auto; overflow: visible;"
|
||||
style="position: relative; height: auto; overflow: visible"
|
||||
>
|
||||
<hc-upload v-if="myProfile" :user="user">
|
||||
<user-avatar :user="user" class="profile-avatar" size="large"></user-avatar>
|
||||
@ -87,7 +87,7 @@
|
||||
</template>
|
||||
</base-card>
|
||||
<ds-space />
|
||||
<ds-heading tag="h3" soft style="text-align: center; margin-bottom: 10px;">
|
||||
<ds-heading tag="h3" soft style="text-align: center; margin-bottom: 10px">
|
||||
{{ $t('profile.network.title') }}
|
||||
</ds-heading>
|
||||
<follow-list
|
||||
@ -104,7 +104,7 @@
|
||||
@fetchAllConnections="fetchAllConnections"
|
||||
/>
|
||||
<ds-space v-if="user.socialMedia && user.socialMedia.length" margin="large">
|
||||
<base-card style="position: relative; height: auto;">
|
||||
<base-card style="position: relative; height: auto">
|
||||
<ds-space margin="x-small">
|
||||
<ds-text tag="h5" color="soft">
|
||||
{{ $t('profile.socialMedia') }} {{ userName | truncate(15) }}?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user