discourse-topic-voting/assets/stylesheets/mobile/topic-voting.scss
Natalie Tay 6bbc982477
DEV: Plugin rename (#126)
Update metadata, Rename ruby module, Rename folders and filenames, Rename i18n keys
2022-11-02 13:42:06 +08:00

44 lines
619 B
SCSS

.title-voting {
width: 100%;
float: none;
max-width: none;
text-align: inherit;
}
.voting-wrapper {
display: flex;
align-items: center;
}
.vote-count-wrapper {
min-width: 70px;
box-sizing: border-box;
// match button height
min-height: 30px;
}
.vote-button {
max-width: 10em;
margin-left: 0.5em;
margin-top: 0;
white-space: nowrap;
}
.voting-popup-menu {
width: calc(100vw - 100px);
// 80px left positioning + 20px .wrap padding
}
// TEMP: RTL overrides
.title-voting {
.rtl & {
float: none;
}
}
.vote-button {
.rtl & {
margin-left: 0;
margin-right: 0.5em;
}
}