Improve new Edit/Preview tab layout

This commit is contained in:
mrliptontea
2019-02-24 15:14:01 +00:00
parent 73d1210a00
commit d8dee5ccb2
2 changed files with 19 additions and 12 deletions

View File

@@ -5,31 +5,38 @@
// For Redmine 4.0+
#content {
div.jstTabs.tabs {
width: 100%;
height: auto;
@if $flexbox-layout {
@media screen and (max-width: $redmine-responsive-max) {
clear: both;
}
}
ul {
width: 100%;
height: auto;
li {
height: auto;
margin: 0;
}
li:not(.tab-elements) {
a {
margin-bottom: 5px;
&::before {
content: none;
}
&.selected {
border: 1px solid $tab-active-border;
border-radius: $border-radius-base;
&:not(.tab-elements) {
@if $flexbox-layout {
align-self: flex-end;
}
&:not(.selected):hover {
border: 1px solid transparent;
border-radius: $border-radius-base;
.selected {
border-color: $input-border $input-border $tab-active-bg;
}
}
&.tab-elements {
margin-left: 5px;
}
}
}

File diff suppressed because one or more lines are too long