Skip to content
Snippets Groups Projects
Verified Commit 5255eced authored by Lars Bilke's avatar Lars Bilke
Browse files

[web] Changes due to tailwind update.

parent d5b717ec
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
<div class="{{ if $subsection }}flex overflow-hidden{{ end }}">
{{ if $subsection }}
<div class="hidden md:flex md:flex-shrink-0">
<div class="hidden md:flex md:shrink-0">
<nav class="flex flex-col w-64 lg:w-72 pl-2 pr-4 mt-1 text-sm lg:text-base">
{{ $currentMenu := index .Site.Menus $section }}
{{ range $currentMenu }}
......
......@@ -34,7 +34,7 @@
class="text-l lg:text-xl font-bold leading-7 text-blue-800 underline mt-3 line-clamp-1 lg:line-clamp-2">
</h3>
<div class="mt-2 flex items-center">
<div class="flex-shrink-0">
<div class="shrink-0">
<img class="h-10 w-10 rounded-full" x-bind:src="getUserAvatar(topic)" alt="author avatar">
</div>
<div class="ml-3">
......@@ -68,7 +68,7 @@
</div>
</a>
</template>
<button class="hidden py-2 px-4 rounded bg-blue-500 text-white flex-grow-0" type="button" x-on:click="reload()">
<button class="hidden py-2 px-4 rounded bg-blue-500 text-white grow-0" type="button" x-on:click="reload()">
Reload
</button>
</div>
......
{{ define "main" }}
<div class="flex overflow-hidden">
<div class="hidden md:flex md:flex-shrink-0">
<div class="hidden md:flex md:shrink-0">
<nav class="flex flex-col w-56 lg:w-64 pl-2 pr-4 mt-1 text-sm lg:text-base text-gray-700">
<div class="mb-2 border-b-2 mr-2 text-gray-500">Table of contents</div>
<div class="mb-2 hover:text-gray-900">
......
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('tailwindcss/colors')
module.exports = {
purge: [
content: [
'./layouts/**/*.html',
],
theme: {
......@@ -31,6 +32,9 @@ module.exports = {
800: '#072350',
900: '#051735',
},
green: colors.emerald,
yellow: colors.amber,
purple: colors.violet
}
},
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment