Skip to content

Commit

Permalink
Merge pull request #2809 from tvdeyen/revert-list-flex-box
Browse files Browse the repository at this point in the history
Revert list flex box
  • Loading branch information
tvdeyen authored Mar 27, 2024
2 parents 68a1324 + 741cf72 commit 528d54b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
6 changes: 3 additions & 3 deletions app/assets/stylesheets/alchemy/archive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ div#filter_bar {

#overlay_file_list {
.assign_file_file {
display: flex;
display: block;
margin-bottom: 4px;
word-break: break-all;

Expand All @@ -323,14 +323,14 @@ div#filter_bar {
a {
@extend %text-overflow;
display: flex;
width: 100%;
justify-content: space-between;
line-height: 25px;
text-decoration: none;
padding: $default-padding 2 * $default-padding;
}

alchemy-icon {
margin-right: 4px;
margin-right: 2 * $default-margin;
vertical-align: bottom;
}
}
Expand Down
15 changes: 7 additions & 8 deletions app/assets/stylesheets/alchemy/lists.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
ul,
ol {
ul, ol {
padding-left: 16px;
margin-top: 1em;
margin-bottom: 1em;
Expand All @@ -16,15 +15,15 @@ ul.list {

li {
list-style-type: none;
display: flex;
display: block;
margin-bottom: 0;

&.list-header {
overflow: hidden;
background-color: transparent;
font-weight: bold;
padding: $default-padding 2 * $default-padding;
margin-bottom: 2 * $default-margin;
padding: $default-padding 2*$default-padding;
margin-bottom: 2*$default-margin;

.list-secondary {
color: $text-color;
Expand All @@ -49,12 +48,12 @@ ul.list {
}

.list-primary {
float: left;
max-width: 65%;
}

.list-secondary,
.right {
margin-left: auto;
.list-secondary, .right {
float: right;
text-align: left;
width: 30%;
color: $dark-gray;
Expand Down

0 comments on commit 528d54b

Please sign in to comment.