Skip to content

Commit

Permalink
fix: issue with styling new modal design
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWoelki committed Dec 26, 2021
1 parent 2a7127f commit 230441a
Showing 1 changed file with 27 additions and 34 deletions.
61 changes: 27 additions & 34 deletions src/styles.css
Expand Up @@ -5,49 +5,42 @@
margin: auto 0;
}

.obsidian-icon-folder-icon-preview {
position: absolute;
top: 0;
left: 0;
margin-top: 7px;
}

.obsidian-icon-folder-icon-preview img {
width: 16px;
height: 16px;
}

.obsidian-icon-folder-setting .setting-item-control .dropdown {
margin-right: 12px;
}

.prompt-results {
margin: 0;
overflow-y: auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
grid-auto-rows: 90px;
margin: 0;
overflow-y: auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
grid-auto-rows: 90px;
}

.suggestion-item {
cursor: pointer;
white-space: pre-wrap;
display: flex;
justify-content: flex-end;
align-items: center;
flex-direction: column-reverse;
text-align: center;
font-size: 13px;
color: gray;
padding: 16px 8px;
line-break: auto;
word-break: break-word;
line-height: 1.3;
cursor: pointer;
white-space: pre-wrap;
display: flex;
justify-content: flex-end;
align-items: center;
flex-direction: column-reverse;
text-align: center;
font-size: 13px;
color: gray;
padding: 16px 8px;
line-break: auto;
word-break: break-word;
line-height: 1.3;
}

.obsidian-icon-folder-icon-preview img {
width: 16px;
height: 16px;
}

.obsidian-icon-folder-icon-preview svg {
width: 24px;
height: 24px;
color: white;
margin-bottom: 4px;
width: 24px;
height: 24px;
color: white;
margin-bottom: 4px;
}

0 comments on commit 230441a

Please sign in to comment.