aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/less/_repository.less
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/less/_repository.less')
-rw-r--r--web_src/less/_repository.less74
1 files changed, 71 insertions, 3 deletions
diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less
index ffbea14b99..13f9384ba0 100644
--- a/web_src/less/_repository.less
+++ b/web_src/less/_repository.less
@@ -861,6 +861,11 @@
}
}
+ /* Don't show the mobile oriented avatar ".inline-timeline-avatar" on desktop. Desktop uses the avatar with class ".timeline-avatar" */
+ .inline-timeline-avatar {
+ display: none;
+ }
+
.avatar.image,
.avatar.image img {
width: 20px;
@@ -1655,7 +1660,7 @@
@media (max-width: 480px) {
padding-top: .25rem;
- .ui.button {
+ .ui.button:not(.btn-submit) {
padding-left: .5rem;
padding-right: .5rem;
display: flex;
@@ -2662,7 +2667,7 @@
background: var(--color-box-header);
border-bottom: 1px solid var(--color-secondary) !important;
font-weight: normal !important;
- padding: .5rem 1rem !important;
+ padding: .5rem 1rem;
margin: 0 !important;
position: relative;
color: var(--color-text-light-2);
@@ -2965,8 +2970,11 @@ tbody.commit-list {
}
.repo-buttons {
- display: flex;
align-items: center;
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ word-break: keep-all;
@media @mediaSm {
margin-top: 1em;
@@ -3011,6 +3019,11 @@ tbody.commit-list {
pointer-events: none !important;
}
}
+ @media @mediaSm {
+ .svg {
+ display: none;
+ }
+ }
}
.tag-code {
@@ -3260,4 +3273,59 @@ td.blob-excerpt {
}
}
}
+ .issue-list-headers.ui[class].grid {
+ > div:nth-child(1) {
+ order: 1;
+ width: 50%;
+ }
+
+ > div:nth-child(2) {
+ order: 3;
+ width: 100%;
+ }
+
+ > div.column:not(.row):nth-child(3) {
+ order: 2;
+ width: 50%;
+ }
+ }
+
+ .repository.view.issue .comment-list {
+ .timeline,
+ .timeline-item {
+ margin-left: 0;
+ }
+
+ .timeline {
+ &::before {
+ left: 14px;
+ }
+
+ .inline-timeline-avatar {
+ display: flex;
+ margin-bottom: auto;
+
+ img.avatar.image {
+ height: 24px;
+ width: 24px;
+ }
+ }
+
+ .comment-header {
+ &::before,
+ &::after {
+ content: unset;
+ }
+
+ padding-left: 4px;
+ }
+
+ /* Don't show the general avatar, we show the inline avatar on mobile.
+ * And don't show the role labels, there's no place for that. */
+ .timeline-avatar,
+ .comment-header-right .role-label {
+ display: none;
+ }
+ }
+ }
}