diff --git a/app/assets/stylesheets/common/base/share_link.scss b/app/assets/stylesheets/common/base/share_link.scss index 647b88f5c..e51f35e16 100644 --- a/app/assets/stylesheets/common/base/share_link.scss +++ b/app/assets/stylesheets/common/base/share_link.scss @@ -32,4 +32,20 @@ color: $primary; } } + + h3 { + margin: 5px 0; + float: left; + } + + .date { + float: right; + margin: 5px; + color: scale-color($primary, $lightness: 50%); + } + + input[type=text] { + font-size: 16px; + margin-bottom: 10px; + } } diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 85cceaa3b..e51841b20 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -636,21 +636,6 @@ iframe { #share-link { width: 365px; margin-left: -4px; - - h3 { - margin: 5px 0; - float: left; - } - - .date { - float: right; - margin: 5px; - } - - input[type=text] { - font-size: 16px; - margin-bottom: 10px; - } } .post-select { diff --git a/app/assets/stylesheets/mobile/topic-post.scss b/app/assets/stylesheets/mobile/topic-post.scss index c19dfd3ff..17677d20f 100644 --- a/app/assets/stylesheets/mobile/topic-post.scss +++ b/app/assets/stylesheets/mobile/topic-post.scss @@ -420,23 +420,8 @@ iframe { #share-link { - width: 300px; - margin-left: -4px; - - h3 { - margin: 5px 0; - float: left; - } - - .date { - float: right; - margin: 5px; - } - - input[type=text] { - font-size: 16px; - margin-bottom: 10px; - } + width: 290px; + margin-left: 20px; } #selected-posts {