diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-06-28 12:35:05 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-06-28 12:35:05 +0300 |
| commit | 3d5da3caf99e4a81e1837ecf2c7dc94defbfb569 (patch) | |
| tree | 9cbc7d888f0f85e9a38b1f73e2f06ca432c54962 /src | |
| parent | 223fabfe90512122ee9d51c22deb01241ba931cd (diff) | |
update styles in preview heading
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/post_status_form/post_status_form.vue | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index 9931f5ca..848d6af7 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -18,7 +18,7 @@ <div class="form-group"> <a v-if="newStatus.contentType !== 'text/plain' && !showPreview" - class="preview-start faint" + class="preview-start" type="button" @click.stop.prevent="previewStatus(newStatus)" > @@ -29,7 +29,7 @@ class="preview-container" > <span class="preview-heading"> - <span class="faint preview-title"> + <span class="preview-title"> {{ $t('status.status_preview') }} </span> <i @@ -38,7 +38,7 @@ /> <a v-else - class="faint preview-update" + class="preview-update" @click.stop.prevent="previewStatus(newStatus)" > {{ $t('status.preview_update') }} @@ -382,9 +382,6 @@ .preview-start { margin-left: auto; cursor: pointer; - &:hover { - text-decoration: underline; - } } .preview-container { @@ -394,6 +391,8 @@ .preview-heading { display: flex; width: 100%; + color: $fallback--faint; + color: var(--faint, $fallback--faint); } .preview-title { @@ -406,15 +405,12 @@ .preview-update { cursor: pointer; - &:hover { - text-decoration: underline; - } } .preview-error { + font-style: italic; color: $fallback--faint; color: var(--faint, $fallback--faint); - font-style: italic; } .preview-status { |
