Skip to content

Commit

Permalink
FIX: add mobile specific stylesheet for onebox (#23329)
Browse files Browse the repository at this point in the history
  • Loading branch information
MeghnaAJ committed Aug 31, 2023
1 parent 97a812f commit 2cd2d7d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/common/base/onebox.scss
Expand Up @@ -453,7 +453,6 @@ pre.onebox code {
}

.github-icon-container {
position: absolute;
display: flex;
align-items: center;
margin-right: 10px;
Expand All @@ -474,9 +473,6 @@ pre.onebox code {

.github-info-container {
width: 100%;
h4 {
margin: 0 0 10px 50px;
}
}

.github-info {
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/mobile/_index.scss
Expand Up @@ -20,6 +20,7 @@
@import "menu-panel";
@import "modal";
@import "new-user";
@import "onebox";
@import "personal-message";
@import "push-notifications-mobile";
@import "reviewables";
Expand Down
13 changes: 13 additions & 0 deletions app/assets/stylesheets/mobile/onebox.scss
@@ -0,0 +1,13 @@
// Onebox - Github - PR, Commit & Issue
.onebox.githubpullrequest,
.onebox.githubcommit,
.onebox.githubissue {
.github-icon-container {
position: absolute;
}
.github-info-container {
h4 {
margin: 0 0 10px 50px;
}
}
}

0 comments on commit 2cd2d7d

Please sign in to comment.