mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:02:46 +08:00
UX: Better style for back button
This commit is contained in:
parent
7515f4eec2
commit
a297d7598b
|
@ -1,6 +1,6 @@
|
|||
{{#if showBackButton}}
|
||||
<div class='progress-back-container'>
|
||||
{{d-button label="topic.timeline.back" class="btn-primary progress-back" action="goBack"}}
|
||||
{{d-button label="topic.timeline.back" class="btn-primary progress-back" action="goBack" icon="arrow-down"}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@ function attachBackButton(widget) {
|
|||
className: 'btn btn-primary btn-small back-button',
|
||||
label: 'topic.timeline.back',
|
||||
title: 'topic.timeline.back_description',
|
||||
icon: 'arrow-down',
|
||||
action: 'goBack'
|
||||
});
|
||||
}
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
.progress-back-container {
|
||||
position: fixed;
|
||||
width: 0;
|
||||
right: 0;
|
||||
bottom: 40px;
|
||||
z-index: 950;
|
||||
margin-right: 105px;
|
||||
margin-right: 45px;
|
||||
|
||||
.btn {
|
||||
margin: 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user