Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit 792f607

Browse files
committed
modifying how the close button is set-up
1 parent ddff840 commit 792f607

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

public/styleguide/css/styleguide.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -503,14 +503,16 @@
503503
-o-transition: bottom 0.3s ease-out;
504504
transition: bottom 0.3s ease-out; }
505505

506+
.sg-view-close {
507+
width: 100%;
508+
margin-bottom: -10px; }
509+
506510
.sg-view-close-btn {
507511
color: #fff;
508-
position: absolute;
509-
top: 1em;
510-
right: 1em;
511512
text-transform: uppercase;
512513
text-decoration: none;
513-
text-align: right; }
514+
text-align: right;
515+
display: block; }
514516

515517
.has-annotation {
516518
cursor: help !important;

public/styleguide/css/styleguide.scss

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -703,14 +703,17 @@ $animate-quick: 0.2s;
703703
}
704704

705705
//Annotation and code view close button
706+
.sg-view-close {
707+
width: 100%;
708+
margin-bottom: -10px;
709+
}
710+
706711
.sg-view-close-btn {
707712
color: #fff;
708-
position: absolute;
709-
top: 1em;
710-
right: 1em;
711713
text-transform: uppercase;
712714
text-decoration: none;
713715
text-align: right;
716+
display: block;
714717
}
715718

716719
//Visually emphasize annotated elements

0 commit comments

Comments
 (0)